Part Number Hot Search : 
MBRS130L MIC25 TE212 M29LV NSD10 Z8612912 EM77F900 IRG4BC
Product Description
Full Text Search
 

To Download DM9102A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  DM9102A single chip fast ethernet nic controller final 1 version: DM9102A-ds-f03 august 28, 2000 general description the DM9102A is a fully integrated and cost-effective single chip fast ethernet nic controller. it is designed with the low power and high performance process. it is a 3.3v device with 5v tolerance t hen it s upports 3.3v and 5v signaling. the DM9102A provides direct interface to the pci or the cardbus. it supports bus master capability and fully complies with pci 2.2. in media side, the dm 9102a interfaces to the utp3,4,5 in 10base-t and utp5 in 100base-tx. it is fully compliance w ith the ieee 802.3u spec. its auto-negotiation function will au tomatically configure the DM9102A to take the maximum advantage of its abilities. the DM9102A is also support ieee 802.3x full- duplex flow control. the DM9102A supports two types of power-management mechanisms. the main mechanism is based upon the onnow architecture, which is required for pc99. the alternative mechanism is based upon the remote wake-on- lan mechanism. block diagram dma eeprom interface boot rom / mii interface pci interface tx+/- rx+/- mii management control & mii register autonegotiation led driver power management block pme# wol rx machine rx fifo tx fifo tx machine mac mii nrz to nrzi nrzi to mlt3 parallel to serial scrambler 4b/5b encoding mlt3 to nrzi nrzi to nrz parallel to serial de- scrambler 4b/5b decoding aeq phyceiver
DM9102A single chip fast ethernet nic controller 2 final version: DM9102A-ds-f03 august 28, 2000 table of contents general description ............................................................. 1 block diagram...................................................................... 1 features ............................................................................... 4 pin configuration: DM9102A 128pin qfp .......................... 5 pin configuration: DM9102A 128pin tqfp ....................... 6 pin description ..................................................................... 7 - pci bus and cardbus interface signals ......................... 7 - boot rom and eeprom interface ................................ 8  multiplex mode ................................................................ 8  direct mode .................................................................... 10 - led pins......................................................................... 11 - network interface ........................................................... 12 - miscellaneous pins ......................................................... 12 - power pins ..................................................................... 13 - note: led mode ............................................................ 13 register definition .............................................................. 14 ? pci configuration registers .......................................... 14 key to default ..................................................................... 14  identification id ............................................................... 15  command & status ........................................................ 15  revision id ..................................................................... 17  miscellaneous function ................................................. 18  i/o base address ........................................................... 18  memory mapped base address .................................... 19  subsystem identification ................................................ 19  cardbus cis pointer...................................................... 20  expansion rom base address ..................................... 21  capabilities pointer ......................................................... 21  interrupt & latency configuration .................................. 22  device specific configuration register......................... 22  power management register ........................................ 23  power management contro l/status .............................. 24 ? control and status register (cr).................................. 25 key to default ..................................................................... 25 1. system control register (cr0)..................................... 26 2. transmit descriptor poll demand (cr1) ...................... 27 3. receive descriptor poll demand (cr2) ....................... 27 4. receive descriptor base address (cr3) ..................... 27 5. transmit descriptor base address (cr4) .................... 28 6. network status report register (cr5) ......................... 28 7. network operation register (cr6)............................... 30 8. interrupt mask register (cr7) ...................................... 32 9. statistical counter register (cr8) ................................ 33 10. prom & management access register (cr9) ........ 34 11. programming rom address register (cr10) .......... 35 12. general purpose timer register (cr11) ................... 35 13. phy status register (cr12) ...................................... 35 14. sample frame access register (cr13).................... 36 15. sample frame data register (cr14) ........................ 36 16. watching & jabber timer register (cr15) ................ 36 ? cardbus status changed register .............................. 39 1. function event register: (offset 80h)............................ 39 2. function event mask register: (offset 84h) .................. 39 3. function present state register: (offset 88h)............... 39 4. function force event register: (offset 8ch) ................ 40 ? phy management register set ................................... 41 key to default ................................................................... 41 basic mode control register (bmcr) - register 0......................................................................... 42 basic mode status register (bmsr) - register 1......................................................................... 43 phy id identifier register #1 (phyidr1) - register 2......................................................................... 44 phy id identifier register #2 (phyidr2) - register 3......................................................................... 44 auto-negotiation advertisement register (anar) - register 4......................................................................... 44 auto-negotiation link partner ability register (anlpar) - register 5........................................................................... 45 auto-negotiation expansion register (aner) - register 6......................................................................... 46 davicom specified configuration register (dscr) - register 10....................................................................... 46 davicom specified configuration and status register (dscsr) - register 11...................................................... 47 10base-t configuration/status (10btscrcsr) - register 12....................................................................... 48 functional description ....................................................... 49 ? system buffer management ......................................... 49 1. overview ........................................................................ 49 2. data structure and descriptor list ................................ 49 3. buffer management: chain structure method .............. 49 5. descriptor list: buffer descriptor format...................... 49 (a). receive descriptor format ......................................... 49
DM9102A single chip fast ethernet nic controller final 3 version: DM9102A-ds-f03 august 28, 2000 (b). transmit descriptor format......................................... 51 ? initialization procedure ................................................... 54 data buffer processing algorithm ..................................... 54 1. receive data buffer processing ................................... 54 2. transmit data buffer processing .................................. 55 ? network function ........................................................... 56 1. overview......................................................................... 56 2. receive process and state machine ............................ 56 a. reception initiation ....................................................... 56 b. address recognition .................................................... 56 c. frame decapsulation ................................................... 56 3. transmit process and state machine ........................... 56 a. transmit initiation.......................................................... 56 b. frame encapsulation................................................... 56 c. collision......................................................................... 56 4. physical layer overview ............................................... 56 ? serial management interface ........................................ 57 ? power management ...................................................... 58 1. overview......................................................................... 58 2. pci function power management s tatus .................... 58 3. the power management operation ............................. 58 a. detect network link state change ............................. 58 b. active magic packet function...................................... 58 c. active the sample frame function ............................. 58 ? sample frame programming guide............................. 60 serial rom overview........................................................ 61 1. subsystem id block....................................................... 61 2. srom version............................................................... 62 3. controller count ............................................................. 62 4. controller_x information ................................................ 62 5. controller information body pointed by controller_x info block offset item in controller information header....... 62 6. example of DM9102A srom format .......................... 63 external mii/srl interface ................................................ 66 the sharing pin table....................................................... 66 absolute maximum ratings .............................................. 68 operating conditions......................................................... 68 dc electrical characteristics ............................................. 69 ac electrical characteristics & timing waveforms.......... 70  pci clock spec. timing................................................. 70  other pci signals timing diagram............................... 70  multiplex mode boot rom timing ................................ 71  direct mode boot rom timing ..................................... 72  eeprom timing........................................................... 72  tp interface.................................................................... 73  oscillator/crystal timing ................................................ 73  auto-negotiation and fast link pulse timing parameters ........................................................................................ 73 package information (128 pin, qfp) ................................ 75 package information (128 pin, tqfp) .............................. 76 ordering information.......................................................... 77 disclaimer .......................................................................... 77 company overview ........................................................... 77 products ............................................................................. 77 contact windows ............................................................... 77 warning.............................................................................. 77
DM9102A single chip fast ethernet nic controller 4 final version: DM9102A-ds-f03 august 28, 2000 features  integrated fast ethernet mac, physical layer and transceiver in one chip.  128pin qfp/128pin tqfp with cmos p rocess.  +3.3v power supply with +5v tolerant i/o.  supports pci and cardbus interfaces.  comply with pci specification 2.2.  pci clock up to 40mhz.  pci bus master architecture.  pci bus burst mode data transfer.  two large independent fifo; receive fifo & transmit fifo.  up to 256k bytes boot eprom or flash interface.  eeprom 93c46 interface supports node id accesses configuration information and user define mess age.  node address auto-load and rel oad.  comply with ieee 802.3u 100base-tx and 802.3 10base-t.  comply with ieee 802.3u auto-negotiation protocol for automatic link type selection.  full duplex/half duplex capability.  support ieee 802.3x full duplex flow control  vlan support.  comply with acpi and pci bus power m anagement.  supports the mii (media independent interface).  supports wake-on-lan function and remote wake-up (magic packet, link change and microsoft ? wake-up frame).  supports 4 wake-on-lan (wol) signals (active high pulse, active low pulse, active high , active low ).  high performance 100mbps clock generator and data recovery circuit.  digital clock recovery circuit using advanced digital algorithm to reduce jitter.  adaptive equalization circuit and baseline wandering restoration circuit for 100mbps receiver.  provides loopback mode for easy system diagnostics.
DM9102A single chip fast ethernet nic controller final 5 version: DM9102A-ds-f03 august 28, 2000 pin configuration : 128 pin qfp 11 DM9102A 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 60 59 58 57 56 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 90 91 92 93 94 95 96 97 98 99 100 1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 28 29 30 55 54 53 52 51 61 81 82 83 84 85 86 87 88 89 int# rst# dvdd gnt# req# pciclk ad31 ad30 ad29 ad28 ad27 ad26 ad25 ad24 cbe3# dgnd idsel ad23 ad21 ad20 ad19 ad18 ad17 ad16 cbe2# ad22 frame# stop# irdy# trdy# devsel# serr# perr# cbe0# bgresg bgres dvdd x1/osc x2 dgnd link&act# fdx# speed100# speed10# bpa0/wmode2 bpa1/pcimode# eedi eedo eeck eecs selrom nc nc nc bpad4 bpad5 bpad6 bpad7/ledmode bpcs# bpad1 bpad0 bpad2 bpad3 ad0 ad1 ad2 ad6 ad7 ad5 ad3 test2 ad4 ad9 ad10 ad11 dvdd ad13 ad14 ad15 ad12 ad8 cbe1# par (ma10/link&act#) (ma11/fdx#) (ma12 / speed100#) (ma13/speed10#) (md0/eedi) (md1) (md2) (md3) (md4) (md5) (md6) (md7/ledmode) (romcs) (ma0/wmode) (ma1/pcimode#) (ma2) (ma3/eedo) (ma4/eeck) (ma5) (ma6/selrom) (ma7) (ma8) (ma9) dvdd dvdd dgnd dgnd dvdd dvdd dgnd dgnd 27 dvdd dvdd dgnd dvdd dgnd dvdd wol/cstschg ma16 102 101 ma15 ma14 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 127 128 126 dgnd dvdd isolate# avdd rxi+ rxi- agnd txo+ txo- avdd agnd avdd nc nc wol/cstschg nc pme# clockrun# test1 avdd dgnd nc dvdd dgnd subgnd dgnd dvdd dgnd dvdd dgnd dgnd ma17
DM9102A single chip fast ethernet nic controller 6 final version: DM9102A-ds-f03 august 28, 2000 pin configuration : 128 pin tqfp 11 DM9102A 74 73 72 71 70 69 68 67 66 65 64 63 62 60 59 58 57 56 50 49 48 47 46 45 44 43 42 41 40 39 32 31 84 85 86 87 88 89 90 91 92 93 94 1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 28 29 30 55 54 53 52 51 61 75 76 77 78 79 80 81 82 83 agnd agnd dvdd avdd avdd txo+ pciclk isolate# gnt# req# dvdd ad31 ad30 ad24 cbe3# dgnd idsel ad23 ad21 ad20 ad19 ad18 ad17 ad16 cbe2# ad22 frame# stop# irdy# trdy# devsel# serr# perr# cbe0# wol/cstschg dvdd speed10# nc nc nc selrom dvdd nc nc bpad5 bpad6 test2 bpcs# bpa0 bpa1/pcimode# test1 eedi eedo eeck bpad4 bpad1 bpad0 bpad2 ad0 ad1 ad2 ad6 ad7 ad5 ad3 bpad3 ad4 ad9 ad10 ad11 dvdd ad13 ad14 ad12 ad8 (ma10/link&act#) (ma11/fdx#) (md0/eedi) (md1) (md2) (md3) (md4) (md5) (md6) (md7/ledmode) (romcs) (ma0wmode2) (ma1/pcimode#) (ma2) (ma3/eedo) (ma4/eeck) (ma5) (ma6/selrom) (ma7/wmode1) (ma8) (ma9)  dgnd dgnd dvdd dvdd dgnd 27 dvdd dvdd dgnd dvdd dgnd dgnd ma16 96 95 ma15 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 121 122 120    x2 dgnd subgnd bgresg avdd avdd rxi- bgres rxi+ nc link&act# speed100# dgnd int# bpad7/ledmode x1/osc dgnd fdx# dvdd dgnd nc eecs dvdd dgnd dvdd dvdd ma17 128 127 126 125 124 123 ad29 ad28 dgnd ad27 ad26 ad25 wol/cstschg 38 37 36 35 34 33 par cbe1# dgnd clockrun# dgnd ad15 ma14 (ma13/speed10#) (ma12/speed100#) txo-
DM9102A single chip fast ethernet nic controller final 7 version: DM9102A-ds-f03 august 28, 2000 pin description i = input, o = output, i/o = input / output, o/d = open drain, p = power, li = reset latch input, # = asserted low pci bus and cardbus interface signals pin no. 128qfp/128tqfp pin name i/o description 113 int# o/d interrupt request this signal will be asserted low when an interrupt condition as defined in cr5 is set, and the corresponding mask bit in cr7 is not set. 114 rst# i system reset when this signal is asserted low, DM9102A performs the internal system reset to its initial state. 115 pciclk i pci system clock pci bus clock that provides timing for DM9102A related to pci bus transactions. the clock frequency range is up to 40mhz. 117 gnt# i bus grant this signal is asserted low to indicate that DM9102A has been granted ownership of the bus by the central arbiter. 118 req# o bus request the DM9102A will assert this signal low to request the ownership of the bus. 119 pme# o/d power management event. open drain. active low. the DM9102A drive it low to indicates that a power management event has occurred. 3 idsel i initialization device select this signal is asserted high during the configuration space read/write access. 21 frame# i/o cycle frame this signal is driven low by the DM9102A master mode to indicate the beginning and duration of a bus transact ion. 23 irdy# i/o initiator ready this signal is driven low when the master is ready to complete the current data phase of the t ransaction. a data phase is completed on any clock both irdy# and trdy# are sampled asse rted. 24 trdy# i/o target ready this signal is driven low when the target is ready to complete the current data phase of the t ransaction. during a read, it indicates that valid data is asse rted. during a write, it indicates the target is prepared to accept d ata. 26 devsel# i/o device select the DM9102A asserts the signal low when it recognizes its target address after frame# is asserted. as a bus master, the DM9102A will sample this signal that insures its
DM9102A single chip fast ethernet nic controller 8 final version: DM9102A-ds-f03 august 28, 2000 destination address of the data transfer is recognized by a target. 27 stop# i/o stop this signal is asserted low by the target device to request the master device to stop the current transaction. 30 perr# i/o parity error the DM9102A as a master or slave will assert this signal low to indicate a parity error on any incoming data. 31 serr# i/o system error this signal is asserted low when address parity is detected with pcics bit31 (detected parity error) is enabled. the system error asserts two clock cycles after the falling address if an address parity error is dete cted. 33 par i/o parity this signal indicates even parity across ad0~ad31 and c/be0#~c/be3# including the par pin. this signal is an output for the master and input for the slave device. it is stable and valid one clock after the address phase. 2 20 34 48 c/be3# c/be2# c/be1# c/be0# i/o bus command/byte enable during the address phase, t hese signals def ine the bus command or the type of bus transaction that will take place. during the data phase these pins indicate which byte lanes contain valid data. c/ be0# applies to bit7-0 and c/be3# applies to bit31-24. 121,122,123,124,126,127, 128,1,6,7,10, 11,13,14,16, 17,38,39,40, 41,43,44,47, 49,50,51,54, 55,56,57,59, 60 ad31~ad0 i/o address & data these are multiple xed address and data bus signals. as a bus master, the DM9102A will drive address during the first bus phase. during subsequent phases, the DM9102A will either read or write data expecting the target to increment its address pointer. as a target, the DM9102A will decode each address on the bus and respond if it is the target being addressed. boot rom and eeprom interface (including multiplex mode or direct mode) multiplex mode pin no. 128qfp/128tqfp pin name i/o description 62,63,64,65, 66,67,68,69 bpad0~bpad7 (bpad7/ledmode) i/o, li boot rom address and data bus (bits 0~7) boot rom address and data m ultiplexed l ines bits 0~7. in mux mode, there are two consecutive address cycles, t hese lines contain the boot rom address pins 7~2, out _enable and write_enable of boot rom in the first cycle; and these lines contain address pins 15~8 in second cycle. after the first two cycles, these lines contain data bit 7~0 in consective cycles. bpad1 is also a reset latch pin. it is boot rom address and data bus when normal operati on. when at power on reset, it is used to pull up or down externally through a r esister to select
DM9102A single chip fast ethernet nic controller final 9 version: DM9102A-ds-f03 august 28, 2000 the wol as pulse or dc signal. 0 = wol pulse mode (default) 1 = wol dc mode bpad2 is also a reset latch pin. it is boot rom address and data bus when normal operati on. when at power on reset, it is used to pull up or down externally through a r esister to select the pme as pulse or dc signal. 0 = pme pulse mode (default) 1 = pme dc mode bpad7 is also a reset latch pin. it is boot rom address and data bus when normal operati on. when at power on reset, it is used to pull up or down externally through a r esister to select led mode. 0 = led mode 0 (default) 1 = led mode 1 72 bpcs# o boot rom chip select boot rom or external register chip select signal. 73 bpa0/wmode o, li boot rom address line/wol mode selection this multiplexed pin acts as boot rom address bit 0 output signal during normal operation. w hen at power on reset, it used to select the type of wol signal. 0 = wol high active (default) 1 = wol low active 74 bpa1/pcimode# i/o, li boot rom address line / pci mode selection this multiplexed pin acts as the boot rom address bit 1 ou tput signal during normal operation. w hen rst# is active (low), it acts as the input system type. if the DM9102A is used in a cardbus system, this pin should be connected to a pull-up resistor; otherwise, the DM9102A consider the host as a pci system. 0 = pci mode (default) 1 = cardbus mode 77 eedi i eeprom data in the DM9102A will read the contents of eeprom serially through this pin. 78 eedo o eeprom data out the DM9102A will use this pin to serially write opc odes, addresses and data i nto the eeprom. 79 eeck o eeprom serial clock this pin provides the clock for the eeprom data transfer. 80 eecs o eeprom chip select this pin will enable the eeprom during loading of the configuration data. 81 selrom i multiplex or director mode selection 0 = multiplex mode (default) 1 = direct mode 83,84,85,91,92,93,94 nc nc in multiplex mode, these pins are not c onne cted.
DM9102A single chip fast ethernet nic controller 10 final version: DM9102A-ds-f03 august 28, 2000 direct mode pin no. 128qfp/128tqfp pin name i/o description 62 md0/eedi i boot rom data input/eeprom data in this is multiplexed pin used by eedi and md0. when boot rom is sele cted, it acts as boot rom data input. when romcs select the eeprom, the DM9102A will read the contents of eeprom serially through this pin. 63,64,65,66,67,68,69 md1~md7 i boot rom data input bus md1 is also a reset latch pin. it is boot rom address and data bus when normal operati on. when at power on reset, it is used to pull up or down externally through a resister to select the wol as pulse or level signal. 0 = wol pulse mode (default) 1 = wol level mode md2 is also a reset latch pin. it is boot rom address and data bus when normal operati on. when at power on reset, it is used to pull up or down externally through a resister to select the pme as pulse or level signal. 0 = pme pulse mode (default) 1 = pme level mode md7 is also a reset latch pin. it is boot rom address and data bus when normal operati on. when at power on reset, it is used to pull up or down externally through a resister to select led mode. 0 = led mode 0 (default) 1 = led mode 1 72 romcs o boot rom or eeprom chip selection. 73 ma0/wmode o boot rom address output line/wol mode selection this multiplexed pin acts as boot rom address output bus during normal operation. when rst# is active, it is used to pull up or down externally through a resister to select wol high active or low active. (wmode) 0 = wol high active (default) 1 = wol low active 74 ma1/pcimode# o, li boot rom address output signal/pci mode selection this multiplexed pin acts as a boot rom address output signal during normal operation. w hen rst# is active, it acts as the input system type. if the DM9102A is used in a cardbus system, this pin should be connected to a pull-up resistor; otherwise, the DM9102A consider the host as a pci system. 0 = pci mode (default) 1 = cardbus mode 77 ma2 o boot rom address output signal 78 ma3/eedo o boot rom address output/eeprom data out this is multiplexed pin used by ma3 and eedo.
DM9102A single chip fast ethernet nic controller final 11 version: DM9102A-ds-f03 august 28, 2000 when the DM9102A will use this pin to serially write opcodes, addresses and data i nto the eep rom. 79 ma4/eeck o boot rom address output/eeprom serial clock this is multiplexed pin used by ma4 and eeck . this pin provides the clock for the eeprom data transfer. 80 ma5 o boot rom address output signal 81 ma6/selrom o/li boot rom address output/multiplex or direct mode selection this multiplexed pin acts as boot rom address output bus during normal operation. when rst# is active, it is used as multiplex and direct mode selection : 0 = boot rom interface is in multiplex mode (default) 1 = boot rom interface is in direct mode. 83,84,85 ma7~ma9 o boot rom address output bus 87 ma10/link&act# o boot rom address output signal/link & active led in dir mode, this pin represents the boot rom address bit 10 when at the time of boot rom operation. when boot rom is not accessed, this pin acts as traffic-and- link led in led mode 0 or traffic led in led mode 1. 88 ma11/fdx# o boot rom address output/full-duplex led in dir mode, this pin represents the boot rom address bit 11 when at the time of boot rom operation. when boot rom is not accessed, this pin acts as full-duplex led. 89 ma12 / speed100# o boot rom address output/ 100mbps led in dir mode, this pin represents the boot rom address bit 12 when at the time of boot rom operation. when boot rom is not accessed, this pin acts as speed-100 led. 90 ma13/speed10# o boot rom address output signal/10mbps led in dir mode, this pin represents the boot rom address bit 13 when at the time of boot rom operation. when boot rom is not accessed, this pin acts as speed-10 led. 91,92,93, 94 ma14~ma17 o boot rom address output bus led pins (please refer to p.11 ?note: led mode? for details.) pin no. 128qfp/128tqfp pin name i/o description 87 link&act# / act# o led output pin, active low mode 0 = link and traffic led. active low to indicate normal link, and it will flash as a traffic led w hen transmitting or receiving. mode 1 = traffic led only 88 fdx# / fdx# o led output pin, active low mode 0 = full duplex led mode 1 = full duplex led 89 speed100# / speed100# o led output pin, active low mode 0 = 100mbps led mode 1 = 100mbps led
DM9102A single chip fast ethernet nic controller 12 final version: DM9102A-ds-f03 august 28, 2000 90 speed10# / link# o led output pin, active low mode 0 = 10mbps led mode 1 = link led network interface pin no. 128qfp/128tqfp pin name i/o description 105,106 rxi+ rx- i 100m/10mbps differential input pair. these two pins are differen tial receive input pair for 100base-tx and 10base -t. they are c apable of rec eiving 100base-tx mlt-3 or 10base-t manchester encoded data. 109,110 txo+ txo- o 100m/10mbps differential output pair. these two pins are differen tial ou tput pair for 100base-tx and 10 base-t. this output pair provides controlled rise and fall times designed to filter the transmitter output. miscellaneous pins pin no. 128qfp/128tqfp pin name i/o description 36 clockrun# i/o, o/d clockrun# the clockrun# signal is used by the system to pause or slow down the pci clock signal. it is used by the DM9102A to enable or disable suspension of the pci clock signal or restart of the pci clock. when the clockrun# signal is not used, this pin should connected to an external pull-down r esistor. 71 test2 i test mode control 2 in normal operation, this pin is pulled-high. 75 test1 i test mode control 1 in normal operation, this pin is pul led low. 95 wol/cstschg o wake up signal/card status change this is multiplexed pin to provide wake on lan signal or card status change. in a pci system, it is used as a wol signal. in a cardbus system, it is used as the card status change output signal and is asynchronous to the clock signal. it indicates that a power management event has occurred in a cardbus system. the DM9102A can assert this pin if it detects link status change, or magic packet, or sample frame. the default is ?normal low, active high pulse?. DM9102A also support high/low and pulse/level options. 97 x2 o crystal feedback output pin used for crystal connection only. leave this pin open if oscillator is used. 98 x1/osc i crystal or oscillator input. (25mhz  50ppm) 25mhz oscillator or series-resonance, fundamental frequency crystal. 102 bgres i bandgap voltage reference resistor.
DM9102A single chip fast ethernet nic controller final 13 version: DM9102A-ds-f03 august 28, 2000 it connects to a 6200  , 1% error tolerance resistor between this pin and bgresg pin to prov ide an accurate current reference for DM9102A.. 101 bgresg i for bandgap circuit it is used together with the bgresg pin. 116 isolate# i isolate this isolate signal is used to isolate the DM9102A from the system, and it is suitable for lan on motherboard. when isolate signal is active low, it disables the DM9102A function and the DM9102A will not drive any outputs and sam ple inputs. in this case, the power consumption is minimum. power pins pin no. 128qfp/128tqfp pin name i/o description 100,107, 108 agnd p analog ground 103,104, 111,112 avdd p analog power, +3.3v 8,9,15,22,28,29,35,37,45, 46,58,76,86,99,125 dgnd p digital ground 4,5,12,18,19,25,32,42,52, 53,61,70,82,96,120 dvdd p digital power, +3.3v note : led mode pin no. 128qfp/128tqfp mode 0 mode 1 87 link&act# link and traffic led act# traffic led 88 fdx# full-duplex led fdx# full-duplex led 89 speed100# 100mbps led speed100# 100mbps led 90 speed10# 10mbps led link# link led
DM9102A single chip fast ethernet nic controller 14 final version: DM9102A-ds-f03 august 28, 2000 register definition pci configuration registers the definitions of pci configurat ion registers are ba sed on the pci specification revision 2.2 and provides the initialization and configuration information to operate the pci interface in the DM9102A. all registers can be accessed with byte, word, or double word mode. as defined in pci specification 2.1, read acc esses to reserve or unimplemented registers will return a value of ?0.? these registers are to be described in the following sections. the default value of pci configuration registers after reset. description identifier address offset value of reset identification pciid 00h 91021282h command & status pcics 04h 02100007h revision pcirv 08h 02000031h miscellaneous pcilt 0ch bios determine i/o base address pciio 10h system allocate memory base address pcimem 14h system allocate reserved -------- 18h - 28h 00000000h cardbus ics pointer cis 24h 00000000h subsystem identification pcisid 2ch load from srom expansion rom base address pcirom 30h 00000000h capability pointer cap_ptr 34h 00000050h reserved -------- 38h 00000000h interrupt & latency pciint 3ch system allocate bit7~0 device specific configuration register pciusr 40h 00000000h power management register pcipmr 50h c0310001h power management control & status pmcsr 54h 00000100h key to default in the register description that follows, the default column takes the form where  : 1 bit set to logic one 0 bit set to logic zero x no default value : ro = read only rw = read/write r/c: means read / write & write "1" for clear.
DM9102A single chip fast ethernet nic controller final 15 version: DM9102A-ds-f03 august 28, 2000 identification id (xxxxxx00 - pciid) 31 16 15 0 dev_id vend_id device id vendor id bit default type description 16:31 9102h ro the field identifies the particular device. uni que and fixed num ber for the dm 9102a is 9102h. it is the product number assigned by davicom. 0:15 1282h ro this field identifies the manufacturer of the device. uni que and fixed number for davicom is 1282h. it is a registered number from sig. command & status (xxxxxx04 - pcics) 31 16 15 0 status command status command 98 parity error response enable/disable i/o space access enable/disable memory space access enable/disable master device capability enable/disable serr# driver enable/disable mast mode fast back-to-back address/data steeping vga palette snoop special cycle memory write and invalid 31 30 29 28 27 26 25 24 23 22 21 20 10 0 0 1 0 0 0 19 1 detected parity error signal for system error master abort detected target abort detected devsel timing data parity error detected slave mode fast back to back new capability 66mhz capability user definable send target abort reserved 00 76543210 00
DM9102A single chip fast ethernet nic controller 16 final version: DM9102A-ds-f03 august 28, 2000 bit default type description 31 0 r/c detected parity error the DM9102A samples the ad[0:31], c/be[0:3]#, and the par signal to check parity and to set parity errors. in slave mode, the parity check falls on command phase and data valid phase (irdy# and trdy# both active). while in master mode, the DM9102A will check during each data phase of a memory read cycle for a parity error during a memory write cycle, if an error occurs, the perr# signal will be driven by the target. this bit is set by the DM9102A and cleared by writing "1". there is no effect by writing "0". 30 0 r/c signal for system error this bit is set when the serr# signal is driven by the dm 9102a. this system error occurs when an address parity is detected under the condition that bit 8 and bit 6 in co mmand register below are set. 29 0 r/c master abort detected this bit is set when the DM9102A terminates a master cycle with the master-abort bus transaction. 28 0 r/c target abort detected this bit is set when the DM9102A terminates a master cycle due to a target-abort signal from other targets. 27 0 r/c send target abort (0 for no implementation) the DM9102A will never assert the target-abort sequence. 26:25 01 r/c devsel timing (01 select medium timing) medium timing of devsel# means the DM9102A will assert devsel# signal two clocks after frame# is sample ?asserted.? 24 0 r/c data parity error detected this bit will take effect only when operating as a master and w hen a parity error response bit in command configuration register is set. it is set under two conditions: (i) perr# asserted by the DM9102A in memory data read err or, (ii) perr# sent from the target due to memory data write error. 23 0 ro slave mode fast back-to-back capable (0 for not support) this bit is always reads "1" to indicate that the DM9102A is capable of accepting fast back-to-back transaction as a slave mode device. 22 0 ro user-definable-feature supported (0 for not support) 21 0 ro 66 mhz capable (0 for no capability) 20 1 ro new capabilities (1 for good capability) this bit indicates whether this function implements a list of extended capabilities such as pci power m anagement. when set this bit indicates the presence of new c apabilities. a value of 0 m eans that this function does not implement new capabilities. 19:10 0 ro reserved 9 0 ro master mode fast back-to-back (0 for not s upport) the DM9102A does not support master mode fast back-to-back capability and will not generate fast back-to-back cycles. 8 0 rw serr# driver enable/disable this bit controls the assertion of serr# signal output. the serr# output will be asse rted on detection of an address parity error and if both this bit
DM9102A single chip fast ethernet nic controller final 17 version: DM9102A-ds-f03 august 28, 2000 and bit 6 are set. 7 0 ro address/data stepping (0 for no stepping) 6 0 rw parity error response enable/disable setting this bit will enable the DM9102A to assert perr# on the detection of a data parity error and to assert serr# for reporting address parity error. 5 0 ro vga palette snooping (0 for not support) 4 0 ro memory write and invalid (0 for not implementation) the DM9102A only generates memory write cycle. 3 0 ro special cycles (0 for not implementation) 2 1 rw master device capability enable/disable when this bit is set, DM9102A has the ability of master mode operation. 1 1 rw memory space access enable/disable this bit controls the ability of memory space access. the memory access includes memory mapped i/o access and boot rom access. as the system boots up, this bit will be enabled by bios for boot rom memory access. while in normal operation using memory m apped i/o access, this bit should be set by driver before m emory acc ess cycles. 0 1 rw i/o space access enable/disable this bit controls the ability of i/o space access. it will be set by bios after power on. revision id (xxxxxx08 - pcirv) 31 0 7 8 revision id class code 3 4 class code revision major number revision minor number bit default type description 31:8 020000h ro class code (020000h) this is the standard code for ethernet lan controller. 7:4 0011 ro revision major number this is the silicon-major revision num ber that will increase for the subs equent versions of the dm9102.a. 3:0 0001 ro revision minor number this is the silicon-minor revision num ber that will increase for the subs equent versions of the DM9102A.
DM9102A single chip fast ethernet nic controller 18 final version: DM9102A-ds-f03 august 28, 2000 miscellaneous function (xxxxxx0c - pcilt) 31 16 15 0 87 23 24 bist header type latency timer cache line size built-in self test header type latency timer for the bus master cache line size for memory read bit default type description 31:24 00h ro built in self test ( 00h means not implementation) 23:16 00h ro header type ( 00h means single function with predefined header type ) 15:8 00h rw latency timer for the bus master. the latency timer is guaranteed by the system and measured by cl ock cycles. when the frame# asserted at the beginning of a master period by the DM9102A, the value will be copied into a counter and start counting down. if the frame# is de-asserted prior to count expirati on, this value is m eaningless. when the count expires before gnt# is de-asserted, the master transaction will be terminated as soon as the gnt# is removed. while gnt# signal is removed and the counter is non-zero, the dm 9102a will continue with its data transfers until the count expires. the system host will read min_gnt and max_lat registers to determine the latency requirement for the device and then initialize the latency timer with an appropriate value. the reset value of latency timer is determined by bios. 7:0 00h ro cache line size for memory read mode selection ( 00h means not implementation for use) i/o base address (xxxxxx10 - pciio) 31 0 1 7 8 1 0000000 i/o base address i/o base address pci i/o range i/o or memory space indicator
DM9102A single chip fast ethernet nic controller final 19 version: DM9102A-ds-f03 august 28, 2000 bit default type description 31:7 undefined rw pci i/o base address this is the base address value for i/o acc esses cycles. it will be co mpared to ad[31:7] in the address phase of bus command cycle for the i/o resource acc ess. 6:1 000000 ro pci i/o r ange indication it indicates that the minimum i/o resource size is 80h. 0 1 ro i/o space or memory space base indicator determines that the register maps into the i/o space.( = 1 indicates i/o base) memory mapped base address (xxxxxx14 - pcimem) 31 0 1 7 8 0000000 memory mapped base 0 memory base address memory range indication i/o or memory space indicator bit default type description 31:7 undefined r/w pci memory base address this is the base address value for memory accesses cycles. it will be compared to the ad[31:7] in the address phase of bus command cycle for the memory resource access. 6:1 000000 ro pci memory range indication it indicates that the minimum memory resource size is 80h. 0 0 ro i/o space or memory space base indicator determines that the register maps into the memory space( = 0 indicates memory base) subsystem identification (xxxxxx2c - pcisid) 0 31 subsystem id subsystem vendor id subsystem id subsystem vendor id bit default type description 31:16 xxxxh ro subsystem id it can be loaded from eeprom word 1 and different from each card. 15:0 xxxxh ro subsystem vendor id unique number given by pci sig and loaded from eeprom word 0.
DM9102A single chip fast ethernet nic controller 20 final version: DM9102A-ds-f03 august 28, 2000 cardbus cis pointer (xxxxxx28 - ccis) this card information structure (cis), also known as tuples, is a set of data structures saved in a nonvolatile memory on the cardbus card. the data stored in cis describes the product. included in this data are the pr oduct manufacturer?s name, product name, and most importantly, the hardware description. the cis is supported in the boot rom space or the memory space (serial rom). cis is read upon card insertion i nto the socket. the software entity that tra ditionally r eads the cis is usually known as card services and socket services (cs & ss). the ccis pointer register is a read-only 32-bit register. this register points to one of the possible address s pace where the card information structure (cis) begins. the pointer is used in a cardbus environment. the content of ccis is loaded from the serial rom after a hardware reset. a value of 0 in this register indicates that cis is not supported. 31 0 3 27 2 8 rom image address space offset address space indicator 2 bit default type description 31:28 note r/w rom image the 4-bit rom image field value when the cis reside in an expansion rom. 27:3 note r/w address space offset this field contains the address offset within the address space indicated by the address space indicator field (ccis<2:0>) 2:0 note r/w address space indicator this field indicates the location of the cis base address. the value of 2 indicates that the cis is stored in the serial rom, and 7, indi cates that the cis is stored in the expansion rom. note : read from serial rom
DM9102A single chip fast ethernet nic controller final 21 version: DM9102A-ds-f03 august 28, 2000 expansion rom base address (xxxxxx30 - pcirom) 31 0 1 rom base address r/w 11 10 reserved 18 17 0000000 rom base address 9 00000000 bit default type description 31:10 00h rw rom base address with 256k b oundary pcirom bit17~10 are hardwired to 0, indicating rom size is up to 256k size 9:1 000000000 ro reserved bits read as 0 0 0 rw expansion rom decoder enable/disable if this bit and the memory space access bit are both set to 1, the dm 9102a will responds to its expansion rom. capabilities pointer (xxxxxx34 - cap _ptr) 31 0 7 8 reserved 0 capability pointer 10100 0 0 bit default type description 31:8 000000h ro reserved 7:0 01010000 ro capability pointer the cap_ptr provides an offset (default is 50h) into the function?s pci configuration space for the location of the first term in the capab ilities l inked list. the cap_ptr offset is double word aligned so the two least significant bits are always ?0?s
DM9102A single chip fast ethernet nic controller 22 final version: DM9102A-ds-f03 august 28, 2000 interrupt & latency configuration (xxxxxx3c - pciint) 31 16 15 0 87 23 24 max_lat min_gnt int_pin int_line maximum latency timer minimum grant interrupt pin interrupt line bit default type description 31:24 28h ro maximum latency timer that can be sustained (read only and read as 28h) 23:16 14h ro minimum grant minimum length of a burst period (read only and read as 14h) 15:8 01h ro interrupt pin read as 01h to indic ate inta# 7:0 xxh rw interrupt line that is routed to the interrupt controller the value depends on mainboard. device specific configuration register (xxxxxx40h- pciusr) 31 30 29 16 15 8 0 reserved 27 26 28 7 25 24 23 device specific link event enable/disable sample frame event enable/disable magic packet event enable/disable link event status sample frame event status magic packet event status device specific reserved bit default type description 31 0 rw device specific bit (sleep mode) 30 0 rw device specific bit (snooze mode) 29 0 rw when set enable link status change wake-up event 28 0 rw when set enable sample frame wake-up event 27 0 rw when set enable magic packet wake-up event 26 0 ro when set, indicates link change and link status c hange ev ent o ccurred 25 0 ro when set, indicates the sample frame is received and sample frame event occurred 24 0 ro when set, indicates the magic packet is received and magic packet event occurred 23:16 00h ro reserved bits read as 0 15:8 00h rw device specific 7:0 00h ro reserved bits read as 0
DM9102A single chip fast ethernet nic controller final 23 version: DM9102A-ds-f03 august 28, 2000 power management register (xxxxxx50h~pcipmr) 31 16 15 0 87 power management capabilities next item pointer capability identifier pmc next item pointer capability id bit default type description 31:27 11000 ro pme_support these five bits field indicate the power states in which the function may assert pme#. a value of 0 for any bit indicates that the func tion is not capable of asserting the pme# signal while in that power state. bit27  pme# support d0 bit28  pme# support d1 bit29  pme# support d2 bit30  pme# support d3(hot) bit31  pme# support d3(cold) DM9102A?s bit31~27=11000 indicates pme# can be asserted from d3(hot) & d3(cold). 26:22 00000 ro reserved (DM9102A not supports d1, d2) 21 1 ro a ?1? indicates that the function requires a device specific initializat ion sequence following transition to the d0 uninitialized state. 20 1 ro auxiliary power source this bit is only meaningful if bit31 is a ?1?. this bit is ?1? in DM9102A indicates that support for pme# in d3(cold) requires auxiliary power. 19 0 ro pme# clock ?0? indicates that no pci clock is required for the function to generate pme#. 18:16 001 ro version a value of 001 indicates that this function complies with the revision 1.0 of the pci power management interface specification. a value of 010 is for DM9102A/a that complies with the revision 1.1 of the pci power management interface specification. 15:8 00h ro next item pointer the offset into the function?s pci configuration space pointing to the location of next item in the function?s capability list is ?00h? 7:0 01h ro capability identifier when ?01h? indicates the linked list item as being the pci power m anagement registers.
DM9102A single chip fast ethernet nic controller 24 final version: DM9102A-ds-f03 august 28, 2000 power management control/status (xxxxxx54h~pmcsr) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 31 r/w 0 0 0 0 0 0 r/w 0 0 0 0 0 0 r/w 16 15 14 9 8 7 2 1 0 pme_status pme_en power_state bit default type description 31:16 0000h ro reserved 15 0 rw/c pme_status this bit is set when the function would normally assert the pme# signal independent of the state of the pme_en bit. writing a ?1? to this bit will clear it. this bit defaults to ?0? if the function does not support pme# generation from d3(cold).if the function supports pme# from d3(cold) then this bit is sticky and must be explicitly cleared by the operating system each time the operating system is initially loaded. 14:9 000000 ro reserved. it means that the DM9102A does not support reporting power consumption. 8 1 rw pme_en write ?1? to enables the function to assert pme#, write ?0? to disable pme# assertion. this bit defaults to ?0? if the function does not support pme# generation from d3(cold). if the function supports pme# from d3(cold) then this bit is sticky and must be explicitly cleared by the operating system each time the operating system is initially loaded. 7:2 000000 ro reserved 1:0 00 rw this two bits field is both used to determ ine the current power state of a function and to set the func tion into a new power state. the definit ions given below. 00 : d0 11 : d3(hot)
DM9102A single chip fast ethernet nic controller final 25 version: DM9102A-ds-f03 august 28, 2000 control and status registers (cr) the DM9102A implements 16 control and status registers, which can be accessed by the host. these crs are double long word aligned. all crs are set to their default values by hardware or software reset unless otherwise spe cified. all control and status registers with their definitions and offset from io or memory base address are shown below: register description offset from csr base address default value after reset cr0 system control register 00h fec00000 cr1 transmit descriptor poll demand 08h ffffffff cr2 receive descriptor poll demand 10h ffffffff cr3 receive descriptor base address register 18h 00000000 cr4 transmit descriptor base address register 20h 00000000 cr5 network status report register 28h fc000000 cr6 network operation mode register 30h 02040000 cr7 interrupt mask register 38h fffe0000 cr8 statistical counter register 40h 00000000 cr9 external management access register 48h 044097ff cr10 programming rom address register 50h unpredictable cr11 general purpose timer register 58h fffe0000 cr12 phy status register 60h ffffffxx cr13 sample frame access register 68h xxxxxx00 cr14 sample frame data register 70h unpredictable cr15 watchdog and jabber timer register 78h 00000000h key to default in the register description that follows, the default column takes the form: , where  : 1 bit set to logic one 0 bit set to logic zero x no default value : ro = read only rw = read/write rw/c = read/write and clear wo = write only reserved bits are shaded and should be written with 0. reserved bits are undef ined on read access.
DM9102A single chip fast ethernet nic controller 26 final version: DM9102A-ds-f03 august 28, 2000 1. system control register (cr0) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 54 3 2 1 0 bit name default description 24:22 reserved 0,ro reserved 21 mrm 0,rw memory read multiple when set, the DM9102A will use memory read multiple command (c/be3~0 = 1100) when it initialize the memory read burst transaction as a master device. when reset, it will use memory read command (c/be3 ~ 0 = 0110) for the same master operation. 20 reserved 0,ro reserved 19:17 txap 000,rw transmit automatic polling interval time when set, the DM9102A will poll transmit descriptor automatically when it is in the suspend state due to buffer una vailable. the polling interval time is programmable based on the table shown below. bit 19 bit 18 bit 17 time interval 0 0 0 no polling 0 0 1 200us 0 1 0 800us 0 1 1 1.6ms 1 0 0 12.8us 1 0 1 25.6us 1 1 0 51.2us 1 1 1 102.4us 16 reserved 0,ro reserved 15:14 aba 00,rw address boundary alignment when set, the DM9102A will execute each burst cycles to stop at the programmed address boundary. the address boundary can be progr ammed to be 8, 16, or 32 doubleword as shown below. bit 15 bit 14 alignment boundary 0 0 reserved 0 1 8-double word 1 0 16-double word 1 1 32-double word 13:8 bl 000000, rw burst length when reset, the DM9102A?s burst length in one dma transfer is limited by the amount of data in the receive fifo ( when receive ) or the amount of free space in the transmit fifo (when transmit ). when set, the dma?s burst length is limited by the programmed value. the permissible values are 0, 1, 2, 4, 8, 16, or 32 doublewords. 7 reserved 0,ro reserved 6:2 reserved 00000 1 reserved 0,ro reserved
DM9102A single chip fast ethernet nic controller final 27 version: DM9102A-ds-f03 august 28, 2000 bit name default description 0 sr 0,rw software reset when set, the DM9102A will make a internal reset cycle. all consequent action to DM9102A2 should wait at least 32 pci clock cycles to start and no necessary to reset this bit. 2. transmit descriptor poll demand (cr1) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 5 4 3 2 1 0 bit name default description 31:0 tdp ffffffffh ,wo transmit descriptor polling command writing any value to this port will force DM9102A to poll the transmit descr iptor. if the acting descriptor is not available, transmit process will return to suspend state. if the descriptor shows buf fer available, transmit process will begin the data transfer. 3. receive descriptor poll demand (cr2) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 5 4 3 2 1 0 bit name default description 31:0 rdp ffffffffh ,wo receive descriptor polling command writing any value to this port will force DM9102A to poll the receive descriptor. if the acting descriptor is not available, receive process will re turn to suspend state. if the descriptor shows buffer available, receive process will begin the data transfer. 4. receive descriptor base address (cr3) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 bit name default description 31:0 rdba 00000000h ,rw receive descriptor base address this register defines base address of receive descriptor-chain. the receive descriptor- polling command after cr3 is set will make DM9102A to fetch the descriptor at the base-address.
DM9102A single chip fast ethernet nic controller 28 final version: DM9102A-ds-f03 august 28, 2000 5. transmit descriptor base address (cr4) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 bit name default description 31:0 tdba 00000000h, rw transmit descriptor base address this register defines base address of transmit descriptor-chain. the transmit descriptor- polling command after cr4 is set will make DM9102A to fetch the descriptor at the base-address. 6. network status report register (cr5) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 54 3 2 1 0 bit name default description 25:23 sbeb 000,ro system bus error bits these bits are r ead only and used to indicate the type of system bus fetal error. valid only when system bus error is set. the mapping bits are shown below. bit25 bit24 bit23 bus error type 0 0 0 parity error 0 0 1 master abort 0 1 0 slave abort 0 1 1 reserved 1 x x reserved 22:20 txps 000,ro transmit process state these bits are r ead only and used to indicate the state of transmit pro cess. the mapping table is shown below. bit22 bit21 bit20 process state 0 0 0 transmit process stopped 0 0 1 fetch transmit descriptor 0 1 0 move setup frame from the host memory 0 1 1 move data from host memory to transmit fifo 1 0 0 close descriptor by clearing owner bit of descriptor 1 0 1 waiting end of transmit 1 1 0 transmit end and close descriptor by writing status 1 1 1 transmit process suspend 19:17 rxps 000,ro receive process state these bits are r ead only and used to indicate the state of receive process. the mapping table is shown below. bit19 bit18 bit17 process state 0 0 0 receive process stopped 0 0 1 fetch receive descriptor 0 1 0 waiting for receive packet under buffer available 0 1 1 move data from receive fifo to host memory
DM9102A single chip fast ethernet nic controller final 29 version: DM9102A-ds-f03 august 28, 2000 1 0 0 close descriptor by clearing owner bit of descriptor 1 0 1 close descriptor by writing status 1 1 0 receive process suspended due to buffer unavailable 1 1 1 purge the current frame from the receive fifo because of unava ilable receive buffer 16 nis 0,rw normal interrupt summary normal interrupt includes any of the th ree con ditions : cr5<0> ? txci : transmit complete interrupt cr5<2> ? txdu : transmit buffer unavailable cr5<6> ? rxci : receive complete interrupt 15 ais 0,rw abnormal interrupt summary abnormal interrupt includes any interrupt condition as shown below excluding normal interrupt conditions. they are txps(bit1), txjt(bit3), txfu(bit5), rxdu(bit7), rxps(bit8), rxwt(bit9), txer(bit10), gpt(bit11), sbe(bit13). 14 eri 0,rw early receive interrupt this bit will be set when early receive interrupt has happened. 13 sbe 0,rw system bus error the pci system bus errors will set this bit. the type of system bus error is shown in cr5<25:23>. 12 lci 0,rw link status change interrupt this bit will be set when link status change. 11 gpt 0,rw general-purpose timer expired this bit is set to indicate the general-purpose timer (described in cr11) has expired. 10 txer 0,rw transmit early interrupt transmit early interrupt is set when the full packet data has been moved from host memory into transmit fifo. it will inform the host to process next step before the transmission end. transmit complete event cr5<0> will clear this bit automatically. 9 rxwt 0,rw receive watchdog timer expired this bit is set to indicate receive watchdog timer has expired. 8 rxps 0,rw receive process stopped this bit is set to indicate receive process enters the st opped state. 7 rxdu 0,rw receive buffer unavailable this bit is set when the DM9102A fetches the next receive descriptor that is still owned by the host. receive process will be suspended until a new frame enters or the receive polling command is set. 6 rxci 0,rw receive complete interrupt this bit is set when a received f rame is fully moved into host memory and receive status has been written to descriptor. receive proc ess is still running and continues to fetch next descriptor. 5 txfu 0,rw transmit fifo underrun this bit is set when transmit fifo has underrun condition during the packet transmission. it may happen due to the heavy load on bus, receive process dominates in full-duplex operation, or transmit buffer unavailable before end of packet. in this case, transmit proc ess is p laced in the suspend s tate and underrun error tdes0<1> is set. 3 txjt 0,rw transmit jabber timer expired this bit is set when the jabber timer expired with the transmitter is still active. transmit process will be aborted and placed in the stop state. it also c auses transmit jabber timeout tdes0<14> to assert. 2 txdu 0,rw transmit buffer unavailable
DM9102A single chip fast ethernet nic controller 30 final version: DM9102A-ds-f03 august 28, 2000 this bit is set when the DM9102A fetches the next transmit descriptor that is still owned by the host. transmit process will be suspended until the transmit polling command is set or auto-polling timer time-out. 1 txps 0,rw transmit process stopped this bit is set to indicate transmit process enters the stopped state. 0 txci 0,rw transmit complete interrupt this bit is set when a frame is fully transmitted and transmit status has been written to descriptor (the tdes1<31> is also ass erted). transmit process is still r unning and continues to fetch next descriptor. 7. network operation mode register (cr6) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 54 3 2 1 0 0 00 1 1 0 0 00 0 0 bit name default description 30 rxa 0,rw receive all when set, all incoming packet will be received, regardless the destination address. the address match is checked according to thecr6<7>, cr6<6>, cr6<4>, cr6<2>, cr6<0>, and rdes0<30> will show this match. 29 npfifo 0,rw set to not purge rx fifo if rx buffer unavailable 28:26 reserved 000,ro must be zero 25 reserved 1,ro must be one 24:23 reserved 00,ro must be zero 22 txtm 1,rw transmit threshold mode when set, the transmit threshold mode is 10mb/s. when reset, the threshold mode is 100mb/s. this bit is used together with cr6<15:14> to decide the exact threshold level. 21 sft 0,rw store and forward transmit when set, the packet transmission from mac will be started after a full frame has been moved from the host memory to transmit fifo. when reset, the packet transmission?s start will depend on the threshold value specified in cr6<15:14> 20 sti 0,rw start transmission immediately when this bit is set, the packet transmission from mac will be started immediately after transmit fifo?s threshold level reaches 16 bytes, regardless of the setting in cr6<22> and cr6<15:14>. this mode will make transmit fifo underrun condition to happen more easily. 19 reserved 0,ro reserved 18 external mii_mode 1,rw 1: select external mii interface. 0: select external srl interface. in external mii mode that the pins test1, test2, and clockrun# are forced to low, the DM9102A bypasses internal phy and uses external phy, by setting this bit properly. see page 66 for details. 17 reserved 0,ro reserved 16 1pkt 0,rw one packet mode when this bit is set, only one packet is stored at tx fifo.
DM9102A single chip fast ethernet nic controller final 31 version: DM9102A-ds-f03 august 28, 2000 15:14 tsb 0,rw threshold bits these bits are set together with cr6<22> (chose 10mb or 100mb) and will decide the exact fifo thres hold level. the packet transmiss ion will start after the data level exceeds the threshold value. bit15 bit14 threshold(100m ) threshold(10m) 0 0 128 72 0 1 256 96 1 0 512 128 1 1 reserved reserved 13 txsc 0,rw transmit start/stop command when set, transmit process will begin by fetching the transmit descriptor for available packet data to be transmitted (running state). if the fetched descriptor is owned by the host, transmit process will enter the suspend state and tr ansmit b uffer unavailable (cr5<2>) is set. otherwise it will begin to move data from host to fifo and transmit out after reaching threshold level. when reset, transmit proc ess is pla ced in the st opped state after complet ing the transmission of the current frame. 12 fcm 0,rw force collision mode when set, the transmission proc ess is for ced to be the collision status. meaningful only in the internal loopback mode. 11:10 lbm 0,rw loopback mode these bits decide two loopback m odes bes ides normal operation. external loopback mode expects transmitted data back to receive path and makes no collision detection. bit11 bit10 loopback mode 0 0 normal 0 1 internal loopback 1 0 internal phy digital loopback 1 1 internal phy analog loopback 9 fdm 0,rw full-duplex mode this bit is set to make DM9102A operate in the full-duplex mode. transmit and receive processes can work simultaneously. there is no collision detection needed during this m ode operat ion. 8 reserved 0,ro must be zero. 7 pam 0,rw pass all multicast when set, any packet with a multicast destination address is received by the DM9102A. the packet with a physical address will also be filtered based on the filter mode setting. 6 pm 1,rw promiscuous mode when set, any incoming valid frame is received by the DM9102A, and no matter what the destination address. the dm 9102a is initialized to this mode after reset operation. 5 reserved 0,ro must be zero. 4 iafm 0,ro inverse address filtering mode it is set to indicate the d m9102a operate in a inverse filtering mode. this is a read only bit and mapped from the setup frame together with cr6<2>, cr6<0> setting. that is, it is valid only during perfect filtering mode.
DM9102A single chip fast ethernet nic controller 32 final version: DM9102A-ds-f03 august 28, 2000 3 pbf 0,rw pass bad frame when set, the dm9102 is indicated to receive the bad frames including runt packets, truncated frames caused by the fifo overflow. the bad frame also has to pass the address filtering if the dm 9102a is not set in promiscuous mode. 2 hofm 0,ro hash-only filter mode this is a read-only bit and mapped from the set-up frame together with bit4,0 of cr6. it is set to indicate the d m9102a operate in a hash-only filtering mode. 1 rxrc 0,rw receive start/stop command when set, receive process will begin by fetching the receive descriptor for ava ilable buffer to store the new-coming packet (placed in the running state). if the fetched descriptor is owned by the host (no descriptor is owned by the DM9102A), the receive process will enter the suspend state and receive buffer unavailable cr5<7> sets. otherwise it runs to wait for the packet?s income. when reset, receive process is placed in the stopped state after completing the reception of the current frame. 0 hpfm 0,ro hash/perfect filter mode this is a read only bit and mapped from the setup frame together with cr6<4>, cr6<2>. when reset, the DM9102A does a perfect address filter of incoming frames according to the addresses specified in the s etup f rame. when s et, the DM9102A does a imperfect address filtering for the incoming frame with a multicast address according to the hash table speci fied in the s etup frame. the filter ing mode (perfect / imperfect) for the frame with a physical address will depend on cr6<2>. 8. interrupt mask register (cr7) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 54 3 2 1 0 bit name default description 16 nise 0,rw normal interrupt summary enable this bit is set to enable the interrupt for normal interrupt summary. normal interrupt includes three conditions : cr5<0> ? txci : transmit complete interrupt cr5<2> ? txdu : transmit buffer unavailable cr5<6> ? rxci : receive complete interrupt 15 aise 0,rw abnormal interrupt summary enable this bit is set to enable the interrupt for abnormal interrupt summary. abnormal interrupt includes all interrupt condition as shown below excluding normal interrupt conditions. they are txps(bit1), txjt(bit3), txfu(bit5), rxdu(bit7), rxps(bit8), rxwt(bit9), txer(bit10), gpt(bit11), sbe(bit13). 14 erie 0,rw early receive interrupt enable this bit is set to enable the interrupt for early receive. 13 sbee 0,rw system bus error enable when set together with cr7<15>, cr5<13>, it enables the interrupt for system bus error. the type of system bus error is shown in cr5<24:23>. 12 lcie 0,rw link status change interrupt enable this bit is set to enable the interrupt for link status change.
DM9102A single chip fast ethernet nic controller final 33 version: DM9102A-ds-f03 august 28, 2000 11 gpte 0,rw general-purpose timer expired enable this bit is set together with cr7<15>, cr5<11> then it will enable the interrupt for the condition of the general-purpose timer (descri bed in cr11) expired. 10 txere 0,rw transmit early interrupt enable this bit is set together with cr7<16>, cr5<10> then it enables the interrupt of the early transmit event. 9 rxwte 0,rw receive watchdog timer expired enable when this bit and cr7<15>, (cr5<9> are set together, it enable the in terrupt of the condition of the receive watchdog timer expired. 8 rxpse 0,rw receive process stopped enable when set together with cr7<15> and cr 5<8>. this bit is set to enable the interrupt of receive process stopped condition. 7 rxdue 0,rw receive buffer unavailable enable when this bit and cr7<15>, cr5<7> are set together, it will enable the interrupt of receive buffer unavailable condition. 6 rxcie 0,rw receive complete interrupt enable when this bit and cr7<16>, cr5<6> are set together, it will enable the interrupt of receive process complete condition. 5 txfue 0,rw transmit fifo underrun enable when set together with cr7<15>, cr 5<5>, it will enable the in terrupt of transmit fifo underrun condition. 4 reserved 0,ro reserved 3 txjte 0,rw transmit jabber timer expired enable when this bit and cr7<15>, cr5<3> are set together, it enables the interrupt of transmit jabber timer expired condition. 2 txdue 0,rw transmit buffer unavailable enable when this bit and cr7<16>, cr5<2> are set together, transmit buffer unavailable interrupt is enabled. 1 txpse 0,rw transmit process stopped enable when this bit is set together with cr7<15> and cr5<1>, it will enable the interrupt of the transmit process stopped 0 txcie 0,rw transmit complete interrupt enable when this bit and cr7<16>, cr5<0> are set, the transmit in terrupt is enabled. 9. statistical counter register (cr8) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 5 4 3 2 1 0 bit name default description 31 rxfu 0,ro receive overflow counter overflow this bit is set when the purged packet counter (rxdu) has an overflow condition. it is a read only register bit. 30:17 rxdu 0,ro receive purged packet counter this is a statistic counter to indicate the purged received packet count upon fifo overflow.
DM9102A single chip fast ethernet nic controller 34 final version: DM9102A-ds-f03 august 28, 2000 16 rxps 0,ro receive missed counter overflow this bit is set when the receive missed frame counter (rxci) has an overflow condition. it is a r ead only register bit. 15:0 rxci 0,ro receive missed frame counter this is a statistic counter to indicate the receive missed frame count when there is a host buffer unava ilable condit ion for receive proc ess. 10. prom & management access register (cr9) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 5 4 3 2 1 0 bit name default description 31:22 undefined x,ro undefined 21 les 0,ro load eeprom status it is set to indicate the load of eeprom is finished. 20 rlm 0,rw reload eeprom it is set to reload the content of eeprom. 19 mdin 0,ro mii management data_in this is read only bit to indicate the mdio input data. 18 mrw 0,rw mii management read/write mode selection this bit defines the read/write mode for mii m anagement interface for phy access. 17 mdout 0,rw mii management data_out this bit is used to gener ate the output data signal for the mdio pin. 16 mdclk 0,rw mii management clock this bit is used to gener ate the output clock signal for the mdc pin. 15 mbo 1,ro must be one. 14 mrc 0,rw memory read control this bit is set to perform the read operation for the boot prom or eeprom access. 13 ewc 0,rw memory write control this bit is set to perform the write operation for the boot prom (m ultiplex mode) or eeprom access. 12 brs 1,rw boot rom selected this bit is set to select the boot rom access for memory interface. 11 ers 0,rw eeprom selected this bit is set to select the eeprom access for memory interface. 10 xrs 1,rw external register selected this bit is set to select an external register. 9:8 mbo 1,ro must be one 7:0 data 1,rw data input/output of boot rom this field contains the data which reads from or write to the boot rom when the boot rom mode is selected. ( cr9<12> = 1 ) if eeprom is selected ( cr9<11> = 1 ), then cr9<3:0> are connected the serial rom control pins.
DM9102A single chip fast ethernet nic controller final 35 version: DM9102A-ds-f03 august 28, 2000 3 crdout 1,rw data_out from eeprom this bit is set to reflect the signal status of eedi pin when eeprom m ode is selected. 2 crdin 1,rw data_in to eeprom this bit is set to generate the o utput signal to eedo pin when eeprom mode is selected. 1 crclk 1,rw clock to eeprom this bit is set to generate the o utput clock to ee clk pin when eeprom m ode is selected. 0 crcs 1,rw chip_select to eeprom this bit is set to generate the o utput signal to eecs pin when eeprom m ode is selected. 11. programming rom address register (cr10) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 5 4 3 2 1 0 bit name default description 17:0 badr unpredictable boot rom address this field contains the address pointer for boot rom when the mode of programming by register is selected. 12. general purpose timer register (cr11) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 5 4 3 2 1 0 bit name default description 16 tcon 0,rw continuous mode of timer when this bit is set, the timer will conti nuously re-initiated upon the set time is up. when reset, the timer will be one-shot response after bclk value is programmed. 15:0 mbclk 0000h,rw multiple of base clock this field set the iteration number of base clock. the base clock duration is defined to be 81.92us --- for mii port/ 100m is selected 2us --- for mii port/10m is selected 13. phy status register (cr12) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 54 3 2 1 0 bit name default description
DM9102A single chip fast ethernet nic controller 36 final version: DM9102A-ds-f03 august 28, 2000 8 gepc x,rw gepd bits control when in initialization, this bit is set and the uni que ? 80h? must be written to the gepd(7:0). after initialization, this bit is reset and it controls the functional mode of gepd in bit0~7. 7 gepd(7) x,rw general phy reset control it must be set to ?1? if cr12<8> is set. when cr12<8> is reset, write ?1? to this bit will reset the phy of the DM9102A. 6:0 gepd(6:0) xxxxxxx ,rw general phy status when cr12<8> is set at initialization, it operates the only write operation and write the unique ?0000000? to these seven bits. after initialization, cr12<8> is reset, write operation is meaningless and read these seven bits to indicate the phy status. these status bits are shown below. bit 6:current media link status bit 5:signal detection bit 4:rx-lock bit 3:internal phy link status (the same as bit2 of phy register) bit 2:full-duplex bit 1:speed 100mbps link bit 0:speed 10mbps link 14. sample frame access register (cr13) (reference to power management section) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 54 3 2 1 0 register general definition bit8 ~ 3 r/w txfifo transmit fifo access port 32h r/w rxfifo receive fifo access port 35h r/w diagreset general reset for di agnostic pointer port 38h w 15. sample frame data register (cr14) (reference to power management section) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 54 3 2 1 0 16. watchdog and jabber timer register (cr15) 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 987 6 54 3 2 1 0 bit name default description 31:25 reserved 0,ro reserved
DM9102A single chip fast ethernet nic controller final 37 version: DM9102A-ds-f03 august 28, 2000 24:22 erit 000,rw early receive interrupt threshold these three bits determine the threshold of the received packet data from rx fifo to host memory. bit24 bit 23 bit22 threshold (percentage) 0 0 0 disable 0 0 1 12.5% 0 1 0 25.0% 0 1 1 37.5% 1 0 0 50.0% 1 0 1 62.5% 1 1 0 75.0% 1 1 1 87.5% 21:16 fifot 000000 ,rw rx fifo flow control threshold option the value of bit21~16 determine the threshold of rx fifo overflow when in flow control mode. the exact threshold is 32bytes multiplied by this value. 15 txpm 0,rw transmit pause packet con dition control 1 = indicate transmit pause packet either cr15<11> or cr15<12> is set. 0 = indicate transmit pause packet both cr15<11> and cr15<12> are set. 14 txp0 0,rw transmit pause packet set to transmit pause packet with pause timer = 0000h 13 txpf 0,rw transmit pause packet set to transmit pause packet with pause timer = ffffh, this bit will be cleared if packet had transmitted. 12 txpe1 0,rw transmit pause packet enable set to enable transmit pause packet if descriptor unavailable 11 txpe2 0.rw transmit pause packet enable set to enable transmit pause packet with time = ffffh if fifo near overflow, or with time = 0000h if fifo empty. 10 flce 0,rw flow control enable set to enable the decode of the pause packet. 9 rxps 0,r/c the latched status of the decode of the pause packet. 8 reserved 0,ro reserved. 7 rxpcs 0,ro of the decode of the pause packet. 6 vlan 0,rw vlan capability enable it is set to enable the vlan mode. 5 twdr 0,rw time interval of watchdog release this bit is used to select the time interval between receive watc hdog timer expiration until re-enabling of the receive c hannel. when this bit is s et, the time interval is 40~48 bits time. when this bit is reset, it is 16~24 bits time. 4 twde 0,rw watchdog timer disable when set, the watchdog timer is disabled. otherwise it is enabled. 3 reserved 0,ro reserved
DM9102A single chip fast ethernet nic controller 38 final version: DM9102A-ds-f03 august 28, 2000 2 jc 0,rw jabber clock when set, the transmission is cut off after a range of 2048 bytes to 2560 bytes is transmitted. when resets, transmiss ion for the 10mbps port is cut off after a r ange of 26ms to 33ms. when resets, transmiss ion for the 100mbps port is cut off after a r ange of 2.6ms to 3.3ms. 1 tunj 0,rw transmit unjabber interval this bit is used to select the time interval betw een transmit j abber t imer expiration until re-enabling of the transmit channel. when set, transmit channel is released right after the jabber expiration. when reset, the time interval is 365~420ms for 10mb/s port and 36.5~42.0ms for 100mb/s. 0 tje 0,rw transmit jabber disable when set, the transmit jabber timer is disabled. otherwise it is enabled.
DM9102A single chip fast ethernet nic controller final 39 version: DM9102A-ds-f03 august 28, 2000 cardbus status changed registers the DM9102A implements four status changed registers. these status changed registers are accessed by the cardbus systom software. these registers are mapped only to the memory address space and not to the i/o address space. 1. function event register: (offset 80h) bit name default description 0:3 reserved r/w unpredictable on read 4 general wake-up event r/wc this bit is set when the DM9102A has detected a power m anagement event. this bit is cleared upon power-up reset and by write 1. it is unaffected by e ither hardware or software reset. when the pme_status bit in the pci configuration is cleared, this bit is automatically cleared as well. 5:14 reserved r/w unpredictable on read 15 interrupt r/wc this bit is set when there is an interrupt pending. this bit is cleared by write 1. this bit is c leared upon hardware or software reset. 16:31 reserved r/w unpredictable on read 2. function event mask register: (offset 84h) bit name default description 0:3 reserved r/w unpredictable on read 4 general wake-up event enable r/wc when set together with the wake-up event summary enable bit (function event mask register<14>), enables the assertion of the cstschg pin. to disable the assertion of the cstschg, the pme_enable bit in the pci configuration register (pmc<8>) must be cleared as well. this bit is cleared upon power up reset. 5:13 reserved r/w unpredictable on read 14 wake-up event summary enable r/w when set together with the general wake-up event enable bit (function event mask register<4>), enables the assertion of the cstschg pin. to disable the assertion of the cstschg pin, the pme_enable bit in the pci configuration register (pmc<8>) must be cleared as well. this is cleared upon power up reset. 15 interrupt register enable r/w when set, enable the assertion of the interrupt pin (int#). this bit is cleared upon hardware or software reset. 16:31 reserved r/w unpredictable on read 3. function present state register: (offset 88h) bit name default description 0:3 reserved r/w unpredictable on read
DM9102A single chip fast ethernet nic controller 40 final version: DM9102A-ds-f03 august 28, 2000 4 general wake-up event r this bit reflects the current state of the wake-up event. it is cleared when either the general wake-up event in the function event register is cleared or when the pme_status in the pmc is cleared. this bit is cleared upon hardware or software reset. 5:14 reserved r/w unpredictable on read 15 interrupt r this bit reflects the internal state of a function specific interrupt. it is cleared when the event that caused the interrupt was either masked in csr7, or cleared in csr5. this bit is cleared upon hardware or software reset. 16:31 reserved r/w unpredictable on read 4. function force event register: (offset 8ch) bit name default description 0:3 reserved r/w unpredictable on read 4 force wake-up w writing 1 to this bit sets the wake-up event field in the function event register (function event register<4>), but not in the function present state register (function present state register<4>). writing 0 has no effect. 5:14 reserved r/w unpredictable on read 15 force interrupt w writing 1 to this bit sets the interrupt field in the function event register (function event register<15>), but not in the function present state register (function present state register<15>). writing 0 has no effect. 16:31 reserved r/w unpredictable on read
DM9102A single chip fast ethernet nic controller final 41 version: DM9102A-ds-f03 august 28, 2000 phy management registers offset register name description default value after r eset 0 bmcr basic mode control register 3100h 1 bmsr basic mode status register 7809h 2 phyidr1 phy identifier register #1 0181h 3 phyidr2 phy identifier register #2 b840h 4 anar auto-negotiation advertisement register 01e1h 5 anlpar auto-negotiation link partner ability register 0000h 6 aner auto-negotiation expansion register 0000h 7-15 reserved reserved 0000h 10h dscr davicom specified configuration register 0000h 11h dscsr davicom specified configuration/status register f010h 12h 10btcsr 10base-t configuration/status register 7800h others reserved reserved for future use, do not read/write to these registers 0000h key to default in the register description that follows, the default column takes the form: , / where  : 1 bit set to logic one 0 bit set to logic zero x no default value (pin#) value latched in from pin # at reset : ro = read only rw = read/write : sc = self clearing p = value permanently set ll = latching low lh = latching high
DM9102A single chip fast ethernet nic controller 42 final version: DM9102A-ds-f03 august 28, 2000 basic mode control register (bmcr) ? 0 bit name default description 0.15 reset 0, rw/sc reset: 1=software reset 0=normal operation this bit sets the status and controls the phy registers of the dm 9102a to their default states. this bit, which is self-clearing, will keep returning a value of one until the reset process is completed 0.14 loopback 0, rw loopback: 1=loop-back enabled 0=normal operation when in 100mbps operation mode, setting this bit may cause the descrambler to lose synchronization and produce a 720ms "dead time" before any valid data appear at the mii receive o utputs 0.13 speed selection 1, rw speed select: 1=100mbps 0=10mbps link speed may be selected either by this bit or by auto-negotiation. when auto-negotiation is enabled and bit 12 is s et, this bit will return auto- negotiation selected media type. 0.12 auto-negotiation enable 1, rw auto-negotiation enable: 1= auto-negotiation enabled: bit 8 and 13 w ill be in auto- negotiation status 0= auto-negotiation disabled: bit 8 and 13 will determine the link s peed and mode 0.11 power down 0, rw power down: setting this bit willpower down the whole chip except crystal / oscillator circuit. 1=power down 0=normal operation 0.10 isolate 0,rw isolate: 1= isolates the DM9102A from the mii with the exception of the serial management. 0= normal operation 0.9 restart auto- negotiation 0,rw/sc restart auto-negotiation: 1= restart auto-negotiation. re-initiates the auto-negotiation process. when auto-negotiation is disabled (bit 12 of this register cleared), this bit has no function and it should be c leared. this bit is self-clear ing and it will keep returning a value of 1 until auto-negotiation is initiated by the DM9102A. the operation of the auto-negotiation process will not be affected by the management entity that clears this bit. 0= normal operation 0.8 duplex mode 1,rw duplex mode: 1= full duplex operation. d uplex selection is allowed when auto- negotiation is disabled (bit 12 of this register is cleared). with auto-negotiation enabled, this bit reflects the duplex c apability selec ted by auto-negotiation. 0= normal operation 0.7 collision test 0,rw collision test: 1= collision test enabled. when set, this bit will cause the col signal to be asserted in response to the assertion of tx_en.
DM9102A single chip fast ethernet nic controller final 43 version: DM9102A-ds-f03 august 28, 2000 0= normal operation 0.6:0.0 reserved <0000000>, ro reserved. write as 0, ignore on read basic mode status register (bmsr) ? 1 bit name default description 1.15 100base-t4 0,ro/p 100base-t4 capable: 1=DM9102A is able to perform in 100base-t4 mode 0=DM9102A is not able to perform in 100base-t4 mode 1.14 100base-tx full duplex 1,ro/p 100base-tx full duplex capable: 1= DM9102A able to perform 100base-tx in full duplex mode 0= DM9102A not able to perform 100base-tx in full duplex mode 1.13 100base-tx half duplex 1,ro/p 100base-tx half duplex capable: 1=DM9102A is able to perform 100base-tx in half d uplex mode 0=DM9102A is not able to perform 100base-tx in half d uplex mode 1.12 10base-t full duplex 1,ro/p 10base-t full duplex capable: 1=DM9102A is able to perform 10base-t in full d uplex mode 0=DM9102A is not able to perform 10base-t in full duplex mode 1.11 10base-t half duplex 1,ro/p 10base-t half duplex capable: 1=DM9102A is able to perform 10base-t in half d uplex mode 0=DM9102A is not able to perform 10base-t in half d uplex mode 1.10-1.7 reserved 0000,ro reserved: write as 0, ignore on read 1.6 mf preamble suppression 0,ro mii frame preamble suppression: 1=phy will accept management frames with pr eamble suppressed 0=phy will not accept management frames with pr eamble suppressed 1.5 auto-negotiation complete 0,ro auto-negotiation complete: 1=auto-negotiation process comp leted 0=auto-negotiation process not comp leted 1.4 remote fault 0, ro/lh remote fault: 1= remote fault condition detected (cleared on read or by a chip reset). fault criteria and detection method is dm 9102a implementation specific. this bit will set after the rf bit in the anlpar (bit 13, register address 05) is set 0= no remote fault condition detected 1.3 auto-negotiation ability 1,ro/p auto configuration ability: 1=DM9102A able to perform auto-negotiation 0=DM9102A not able to perform auto-negotiation 1.2 link status 0,ro/ll link status: 1=valid link established (for either 10mbps or 100mbps operation) 0=link not established the link status bit is implemented with a latching function, so that the occurrence of a link failure condition causes the link status bit to be cleared and remain cleared un til it is read via the m anagement inter face 1.1 jabber detect 0, ro/lh jabber detect: 1=jabber condition detected 0=no jabber this bit is implemented with a latching function. jabber conditions will set this bit unless it is cleared by a read to this register through a m anagement
DM9102A single chip fast ethernet nic controller 44 final version: DM9102A-ds-f03 august 28, 2000 interface or a DM9102A reset. this bit works only in 10mbps mode 1.0 extended capability 1,ro/p extended capability: 1=extended register capability 0=basic register capability only phy id identifier register #1 (phyidr1) ? 2 the phy identifier register#1 and register#2 work together in a single identifier of the DM9102A. the identifier consists of a concatenation of the or ganizationally unique identifier (oui), a vendor's model number, and a model revision number. davicom semiconductor's ieee assigned oui is 00606e. bit name default description 2.15-2.0 oui_msb <0181h> oui most significant bits: this register stores bit 3 to 18 of the oui (00606e) to bit 15 to 0 of this register respectively. the most significant two bits of the oui are ignored (the ieee standard refers to these as bit 1 and 2) phy identifier register #2 (phyidr2) - 3 bit name default description 3.15-3.10 oui_lsb <101110>, ro/p oui least significant bits: bit 19 to 24 of the oui (00606e) are mapped to bit 15 to 10 of this register respectively 3.9-3.4 vndr_mdl <000100>, ro/p vendor model number: six bits of vendor model number mapped to bit 9 to 4 (most significant bit to bit 9) 3.3-3.0 mdl_rev <0000>, ro/p model revision number: four bits of vendor model revision number mapped to bit 3 to 0 (most significant bit to bit 3) auto-negotiation advertisement register (anar) ? 4 this register contains the advertised abilities of this dm 9102a device as they will be transmitted to its link partner during auto- negotiation. bit name default description 4.15 np 0,ro/p next page indication: 0=no next page a vailable 1=next page available the DM9102A has no next page, so this bit is permanently set to 0 4.14 ack 0,ro acknowledge: 1=link partner ability data reception acknowledged 0=not acknowledged the DM9102A's auto-negotiation state machine will automatically control this bit in the outgoing flp bu rsts and set it at the appropriate time during the auto-negotiation process. software should not attempt to write to this bit. 4.13 rf 0, rw remote fault:
DM9102A single chip fast ethernet nic controller final 45 version: DM9102A-ds-f03 august 28, 2000 1=local device senses a fault condition 0=no fault detected 4.12-4.11 reserved 00, rw reserved: write as 0, ignore on read 4.10 fcs 0, rw flow control support: 1=controller chip supports flow control ability 0=controller chip doesn?t support flow control ability 4.9 t4 0, ro/p 100base-t4 support: 1=100base-t4 supported by the local device 0=100base-t4 not supported the DM9102A does not support 100base-t4 so this bit is permanently 4.8 tx_fdx 1, rw 100base-tx full duplex support: 1=100base-tx full duplex s upported by the local device 4.7 tx_hdx 1, rw 100base-tx support: 1=100base-tx supported by the local device 0=100base-tx not supported 4.6 10_fdx 1, rw 10base-t full duplex support: 1=10base-t full duplex supported by the local device 0=10base-t full duplex not supported 4.5 10_hdx 1, rw 10base-t support: 1=10base-t supported by the local device 0=10base-t not supported 4.4-4.0 selector <00001>, rw protocol selection bits: these bits contain the binary encoded protocol selector supported by this node. <00001> indicates that this device supports ieee 802.3 csma/cd. auto-negotiation link partner ability register (anlpar) ? 5 this register contains the advertised abilities of the link partner when received during auto- negoti ation. bit name default description 5.15 np 0, ro next page indication: 0= link partner, no next page available 1= link partner, next page available 5.14 ack 0, ro acknowledge: 1=link partner ability data reception acknowledged 0=not acknowledged the DM9102A's auto-negotiation state machine will automatically control this bit from the incoming flp bursts. software should not at tempt to wr ite to this bit. 5.13 rf 0, ro remote fault: 1=remote fault indicated by link partner 0=no remote fault indicated by link partner 5.12-5.10 reserved 000, ro reserved: write as 0, ignore on read 5.9 t4 0, ro 100base-t4 support: 1=100base-t4 supported by the link partner 0=100base-t4 not supported by the link partner 5.8 tx_fdx 0, ro 100base-tx full duplex support: 1=100base-tx full duplex s upported by the link partner 0=100base-tx full duplex not s upported by the link partner 5.7 tx_hdx 0, ro 100base-tx support:
DM9102A single chip fast ethernet nic controller 46 final version: DM9102A-ds-f03 august 28, 2000 1=100base-tx half duplex supported by the link partner 0=100base-tx half duplex not supported by the link partner 5.6 10_fdx 0, ro 10base-t full duplex support: 1=10base-t full duplex supported by the link partner 0=10base-t full duplex not supported by the link partner 5.5 10_hdx 0, ro 10base-t support: 1=10base-t half duplex supported by the link partner 0=10base-t half duplex not supported by the link partner 5.4-5.0 selector <00000>, ro protocol selection bits: link partner?s binary encoded protocol selector auto-negotiation expansion register (aner) ? 6 bit name default description 6.15-6.5 reserved 0, ro reserved: write as 0, ignore on read 6.4 pdf 0, ro/lh local device parallel detection fault: pdf=1: a fault detected via parallel detection function. pdf=0: no fault detected via parallel detection function 6.3 lp_np_able 0, ro link partner next page able: lp_np_able=1: link partner, next page available lp_np_able=0: link partner, no next page 6.2 np_able 0,ro/p local device next page able: np_able=1: DM9102A, next page available np_able=0: DM9102A, no next page DM9102A does not support this function, so this bit is always 0. 6.1 page_rx 0, ro/lh new page received: a new link code word page received. this bit will be automatically cleared when the register (register 6) is read by m anagement 6.0 lp_an_able 0, ro link partner auto-negotiation able: a ?1? in this bit indicates that the link partner supports auto-negotiation. davicom specified configuration register (dscr) - 10h bit name default description 16.15:16.8 reserved 0, ro reserved 16.7 f_link_100 0, rw force good link in 100mbps: 0 = normal 100mbps operation 1 = force 100mbps good link status this bit is useful for diagnostic purposes. 16.6:16.4 reserved 0,ro reserved 16.3 smrst 0,rw reset state machine: when writes 1 to this bit, all state machines of phy will be reset. this bit is self-clear after reset is completed. 16.2 mfpsc 0,rw mf preamble suppression control: mii frame preamble suppression control bit 1 = mf preamble suppression bit on 0 = mf preamble suppression bit off
DM9102A single chip fast ethernet nic controller final 47 version: DM9102A-ds-f03 august 28, 2000 16.1 sleep 0,rw sleep mode: writing a 1 to this bit will cause phy entering the sleep mode and power down all circuit except oscillator and clock generator circuit. when waking up from sleep mode (write this bit to 0), the configuration will go back to the state before sleep; but the state machine will be reset 16.0 rlout 0,rw remote loop out control: when this bit is set to 1, the received data will loop out to the transmit c hannel. this is useful for bit error rate testing davicom specified configuration and status register (dscsr) - 11h bit name default description 17.15 100fdx 1, ro 100m full duplex operation mode: after auto-negotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 100mbps full duplex mode. the software can read bit[15:12] to see which mode is selected after auto- negotiation. this bit is invalid when it is not in the auto-negotiation mode. 17.14 100hdx 1, ro 100m half duplex operation mode: after auto-negotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 100mbps half duplex mode. the software can read bit[15:12] to see which mode is selected after auto- negotiation. this bit is invalid when it is not in the auto-negotiation mode. 17.13 10fdx 1, ro 10m full duplex operation mode: after auto-negotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 10mbps full duplex mode. the software can read bit[15:12] to see which mode is selected after auto- negotiation. this bit is invalid when it is not in the auto-negotiation mode. 17.12 10hdx 1, ro 10m half duplex operation mode: after auto-negotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 10mbps half duplex mode. the software can read bit[15:12] to see which mode is selected after auto- negotiation. this bit is invalid when it is not in the auto-negotiation mode. 17.11-17.9 reserved 000, rw reserved: write as 0, ignore on read 17.8-17.4 phyad[4:0] 00001, rw phy address bit 4:0: the first phy address bit transmitted or received is the msb of the address (bit 4). a station management entity connected to multiple phy entities must know the appropriate address of each phy. a phy address of < 00000> will cause the isolate bit of the bmcr (bit 10, register address 00) to be set. 17.3-17.0 anmb[3:0] 0000, ro auto-negotiation monitor bits: these bits are for debug only. the auto- negotiation status will be written to these bits.
DM9102A single chip fast ethernet nic controller 48 final version: DM9102A-ds-f03 august 28, 2000 b3 b2 b1 b0 0 0 0 0 i n i d l e s t a t e 0 0 0 0 ability match 0 0 1 0 a c k n o w l e d g e m a t c h 0011acknowledge match fail 0 1 0 0 c o n s i s t e n c y m a t c h 0101consistency match fail 0 1 1 0 p a r a l l e l d e t e c t s s i g n a l _ l i n k _ r e a d y 0 1 1 1 parallel detects signal_link_ready fail 1 0 0 0 a u t o - n e g o t i a t i o n c o m p l e t e d successfully 10base-t configuration/status (10btcsrcsr) - 12h bit name default description 18.15 reserved 0, ro reserved: write as 0, ignore on read 18.14 lp_en 1, rw link pulse enable: 1=transmission of link pulses enabled 0=link pulses disabled, good link condition forced this bit is valid only in 10mbps operation. 18.13 hbe 1,rw heartbeat enable: 1=heartbeat function enabled 0=heartbeat function disabled when the DM9102A is configured for full duplex operation, this bit will be ignored (the collision/heartbeat function is invalid in full duplex mode). it must set to be 1. 18.12 squelch 1, rw squelch enable 1 = normal squelch 0 = low squelch 18.11 jaben 1, rw jabber enable: enables or disables the jabber function when the DM9102A is in 10base-t full duplex or 10base-t transceiver loopback mode 1= jabber function enabled 0= jabber function disabled 18.10-18.0 reserved 0, ro reserved
DM9102A single chip fast ethernet nic controller final 49 version: DM9102A-ds-f03 august 28, 2000 functional description system buffer management 1.overview the data buffers for reception and transmission of data resides in the host memory. they are directed by the descriptor list that is located in another region of the host memory. all actions for the buffer management are operated by the DM9102A in conjunction with the driver. the data structures and processing algorithms are described in the following text. 2. data structure and descriptor list there are two types of buffers that reside in the host memory, the transmit buffer and the receive bu ffer. the buffers are composed of many distributed regions in the host memory. they are linked together and controlled by the descriptor lists that reside in another region of the host memory. the content of each descriptor includes pointer to the buffer, count of the buffer, command and s tatus for the packet to be transmitted or received. each descriptor list starts from the address setting of cr3 (receive descriptor base address) and cr4 (transmit descriptor base address). the descriptor list is chain structure. 3. buffer management -- chain structure method as the chain structure depicted below, each descriptor contains two pointers, one point to a single buffer and the other to the next descriptor chained. the first descriptor is chained to the last descriptor under host driver?s control. with this structure, a descriptor can be allocated anywhere in host memory and is chained to the next descriptor. buffer 1 buffer 1 descriptor 1 descriptor n packet n control buffer address 1 status own not valid next descriptor address buffer 1 length 4. descriptor list: buffer descriptor format (a). receive descriptor format each receive descriptor has four double-word entries and may be read or written by the host or the DM9102A. the descriptor format is shown below w ith a detailed functi onal description.
DM9102A single chip fast ethernet nic controller 50 final version: DM9102A-ds-f03 august 28, 2000 31 0 own status control bits buffer address next descriptor address rdes0 rdes1 rdes2 rdes3 buffer length own receive descriptor format rdes0: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 own frame length ( fl ) aun own: owner bit of received status 1=owned by dm9102, 0=owned by host this bit should be reset after packet reception is completed. the host will set this bit after received data is removed. aun: received address unmatched. fl: frame length frame length indicating total byte count of received packet. 151413121110 9 8 7 6 5 4 3 2 1 0 es rf ce mf due lbom bd ed tlf lcs ft rwt ple ae foe efl this word-wide content includes status of received frame. they are loaded after the received buffer that belongs to the corresponding descriptor is full. all status bits are valid only when the last descriptor (end descriptor) bit is set. bit 15: es, error summary it is set for the following error c onditions: descriptor unavailable error (due =1), runt frame (rf=1), excessive frame length (efl=1), late co llision seen (lcs=1), crc error (ce=1), fifo overflow error (foe=1). valid only when ed is set. bit 14: due, descriptor unavailable error it is set when the frame is truncated due to the buffer unavailable. it is valid only when ed is set. bit 13,12: lbom, loopback operation mode these two bits show the received f rame is derived from: 00 --- normal operation 01 --- internal loopback 10 --- phy loopback 11 --- external loopback bit 11: rf, runt frame it is set to indicate the received f rame has the size smaller than 64 bytes. it is valid only when ed is set and foe is reset. bit 10: mf, multicast frame it is set to indicate the received f rame has a multicast address. it is valid only when ed is set. bit 9: bd, begin descriptor this bit is set for the descriptor indicating start of a received frame. bit 8: ed, ending descriptor this bit is set for descriptor to indicate end of a received frame. bit 7: efl, excessive frame length it is set to indicate the received f rame length exceeds 1518 bytes. valid only when ed is set. bit 6: lcs: late collision seen it is set to indicate a late collis ion found during the frame reception. valid only when ed is set.
DM9102A single chip fast ethernet nic controller final 51 version: DM9102A-ds-f03 august 28, 2000 bit 5: ft, frame type it is set to indicate the received f rame is the e thernet-type. it is reset to indicate the received frame is the eee802.3- type. valid only when ed is set bit 4: rwt, receive watchdog time-out it is set to indicate receive watchdog time-out during the frame reception. cr5<9> will also be set. valid only when ed is set. bit 3: ple, physical layer error it is set to indicate a physical layer error f ound during the frame reception. bit 2: ae, alignment error it is set to indicate the received f rame ends with a non-byte boundary. bit 1: ce, crc error it is set to indicate the received f rame ends with a crc error. valid only when ed is set. bit 0: foe, fifo overflow error this bit is valid for ending descriptor is set. (ed = 1). it is set to indicate a fifo overflow error happens during the frame reception. rdes1: descriptor status and buffer size 31 30 29 28 27 26 25 24 23 22 21 ~ 11 10 ~ 0 ce buffer length bit 24: ce, chain enable must be 1. bit 10-0: buffer length indicates the size of the buffer. rdes2: buffer starting address indicates the physical starting address of buffer. this address must be double word alignment. 31 0 buffer address irdes3: next descriptor address indicates the physical starting address of the chained descriptor under the chain descriptor structure. this address must be eight word alignment. 31 0 next descriptor address (b). transmit descriptor format each transmit descriptor has four double-word content and may be read or written by the host or by the dm 9102a. the descriptor format is shown below with detailed description
DM9102A single chip fast ethernet nic controller 52 final version: DM9102A-ds-f03 august 28, 2000 31 0 own status control bits buffer address next descriptor address tdes0 tdes1 tdes2 tdes3 buffer length own transmit descriptor format tdes0: owner bit with transmit status 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 own bit 31: own, 1=owned by DM9102A, 0=owned by host, this bit should be set when the transmitting buffer is filled with data and r eady to be transmitted. it will be reset by dm 9102a after transmitting the whole data buffer. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 es ec 0 cc tx jt loc nc lc 0 fue df this word wide content includes status of transmitted frame. they are loaded after the data buffer that bel ongs to the corresponding descriptor is transmi tted. bit 15: es, error summary it is set for the following error c onditions: transmit jabber time-out (txjt=1), loss of carrier (loc=1), no carrier (nc=1), late collision (lc=1), excessive collision (ec=1), fifo underrun error (fue=1). bit 14: txjt, transmit jabber time out it is set to indicate the transmitted frame is t runcated due to transmit jabber time out condition. the transmit j abber time out interrupt cr5<3> is set. bit 11: loc, loss of carrier it is set to indicate the loss of carr ier during the f rame transmission. it is not valid in internal loopback m ode. bit 10: nc, no carrier it is set to indicate that no carrier si gnal from transceiver is found. it is not va lid in in ternal loopback m ode. bit 9: lc, late collision it is set to indicate a collision occurs after the collision window of 64 bytes. not valid if fue is set. bit 8: ec, excessive c ollision it is set to indicate the transmission is aborted due to 16 excessive collisions. bit 7: reserved this bit is 0 when read. bits 6-3: cc, collision count these bits show the number of collision before transmission. not valid if excessive collision bit is also set. bit 2: reserved this bit is 0 when read.
DM9102A single chip fast ethernet nic controller final 53 version: DM9102A-ds-f03 august 28, 2000 bit 1: fue, fifo underrun error it is set to indicate the transmission aborted due to transmit fifo underrun condition. bit 0: df, deferred it is set to indicate the frame is de ferred before ready to transmit. tdes1: transmit buffer control and buffer size 31 30 29 28 27 26 25 24 23 22 21 ~ 11 10 ~ 0 ci ed bd fmb1 setf cad /// ce pd fmb0 buffer length bit 31: ci, completion interrupt it is set to enable transmit interrupt after the present f rame has been transmitted. it is valid only when tdes1<30> is set or when it is a setup frame. bit 30: ed, ending descriptor it is set to indicate the pointed buffer contains the last segment of a frame. bit 29: bd, begin descriptor it is set to indicate the pointed buffer contains the first segment of a frame. bit 28: fmb1, filtering mode bit 1 this bit is used with fmb0 to indicate the filtering type when the present frame is a setup frame. bit 27: setf, setup frame it is set to indicate the current frame is a setup frame. bit 26: cad, crc append disable it is set to disable the crc appending at the end of the transmitted frame. valid only when tdes1<29> is set. bit 24: ce, chain enable must be ?1?. bit 23: pd, padding disable this bit is set to disable the padding field for a packet shorter than 64 bytes. bit 22: fmb0, filtering mode bit 0 this bit is used with fmb1 to indicate the filtering type when the present frame is a setup frame. fmb1 fmb0 filtering type 0 0 perfect filtering 0 1 hash filtering 1 0 inverse filtering 1 1 hash-only filtering. bit 10-0: buffer 1 length indicates the size of buffer in chain type structure. tdes2: buffer starting address indicates the physical starting address of buffer. 31 0 buffer address 1 tdes3: address indicates the next descriptor starting address indicates the physical starting address of the chained descriptor under the chain descriptor structure. this address must be eight word alignment. 31 0 buffer address 2 initialization procedure after hardware or software res et, transmit and receive processes are placed in the state of s top. the DM9102A
DM9102A single chip fast ethernet nic controller 54 final version: DM9102A-ds-f03 august 28, 2000 can accept the host comm ands to start operation. the general procedure for initialization is described below: (1) read/write suitable values for the pci configuration registers. (2) write cr3 and cr4 to prov ide the starting address of each descriptor list. (3) write cr0 to set global host bus operation parameters. (4) write cr7 to mask causes of unnecessary interrupt. (5) write cr6 to set global parameters and start both receive and transmit processes. receive and transmit processes will enter the running state and attempt to acquire descriptors from the respective descriptor lists. (6) wait for any interrupt. data buffer processing algorithm the data buffer process algorithm is based on the cooperation of the host and the DM9102A. the host sets cr3 (receive descriptor base address) and cr4 (transmit descriptor base address) for the descriptor list initialization. the DM9102A will start the data buffer transfer after the descriptor polling and get the ownership. for deta iled processing procedure, please see below. 1. receive data buffer processing the DM9102A always attempts to acquire an extra descriptor in anticipation of the incoming frames. any incoming frame size covers a few buffer regions and descriptors. the following conditions satisfy the descriptor acquisition attempt: when start/stop receive sets immediately after being placed in the running state. when the DM9102A begins writing frame d ata to a data buffer pointed to by the current descriptor and the buffer ends before the frame ends. when the DM9102A completes the reception of a frame and the current receiving descriptor is closed. when receive process is suspended due to no free buffer for the DM9102A and a new frame is received. when receive polling demand is issued. after acquiring the free descriptor, the DM9102A processes the incoming frame and places it in the acquired descriptor's data buffer. when whole the received frame data has been trans ferred, the DM9102A will write the status information to the last descriptor. the same process will repeat until it encounters a descriptor flagged as being owned by the host. if this o ccurs, receive process enters the suspended state and wa its the host to service. stop state descriptor access datat transfer write status suspended start receive command or receive poll command buffer available ( own bit = 1 ) fifo threshold reached frame fully received buffer not full receive buffer unavailable new frame coming or receive poll command stop receive command or reset command buffer full receive buffer managem ent state transition
DM9102A single chip fast ethernet nic controller final 55 version: DM9102A-ds-f03 august 28, 2000 2. transmit data buffer processing when start/stop transmit command is set and the DM9102A is in running state, transmit process polls transmit descriptor list for frames requiring transmission. when it completes a frame transmission, the status related to the transmitted frame will be written into the transmit descriptor. if the DM9102A detects a descriptor flagged as owned by the host and no transmit buffers are ava ilable, transmit process will be suspended. while in the running state, transmit process can simultaneously acquire two frames. as transmit process completes copying the first frame, it immediately polls transmit descriptor list for the second frame. if the second frame is valid, transmit process copies the f rame before writing the status information of the first frame. both conditions will make transmit process suspend. (i) the DM9102A detects a descriptor owned by the host. (ii) a frame transmission is aborted when a loca lly induced error is detected. under either condition, the host driver has to service the condition before the DM9102A can resume. stop state descriptor access data transfer write status suspended buffer available ( own bit = 1 ) frame fully transmited start transmit command or transmit poll command under fifo threshold buffer not empty buffer empty transmit buffer unavailable ( owned by host ) transmit poll command stop transmit command or reset command transmit buffer management state transition
DM9102A single chip fast ethernet nic controller 56 final version: DM9102A-ds-f03 august 28, 2000 network function 1. over view this chapter will introduce the normal state machine operation and mac layer management like collision backoff algorithm. in transmit mode, the dm 9102a initia tes a dma cycle to access data from a transmit buffer. it prefaces the data with the preamble, the sfd pattern, and it appends a 32-bit crc. in receive mode, the data is de-serialized by receive mechanism and fed into the internal fifo. for detailed process, please see below. 2. receive process and state machine a. reception initiation as a preamble being detected on receive data li nes, the DM9102A synchronizes itself to the data stream during the preamble and waits for the sfd. the synchronization process is based on byte boundary and the sfd byte is 10101011. if the DM9102A receives a 00 or a 11 after the first 8 preamble bits and before receiving the sfd, the reception process will be terminated. b. address recognition after initial synchronization, the DM9102A will recognize the 6-byte destination address field. the first bit of the destination address signifies whether it is a physical address (=0) or a multicast address (=1). the DM9102A filters the frame based on the node address of receive address filter setting. if the frame passes the filter, the subsequent serial data will be delivered into the host memory. c. frame decapsulation the DM9102A checks the crc bytes of all received frames before releasing the frame along with the crc to the host processor. 3. transmit process and state machine a. transmission initiation once the host processor prepares a transmit descriptor for the transmit buffer, the host processor signals the DM9102A to take it. after the DM9102A has been notified of this transmit list, the DM9102A will start to move the data bytes from the host memory to the internal transmit fifo. when the transmit fifo is adequately filled to the programmed thres hold level, or when there is a full frame buffered into the transmit fifo, the DM9102A begins to encapsulate the frame. the transmit encapsulation is performed by the transmit state machine, which delays the actual transmiss ion onto the network until the network has been idle for a minimum inter frame gap time. b. frame encapsulation the transmit data frame encapsulation stream c onsists of two parts: b asic frame beginn ing and basic frame end. the former contains 56 preamble bits and sfd, the later, fcs. the basic frame read from the host memory includes the destination address, the source address, the type/length field, and the data field. if the data field is less t han 46 bytes, the DM9102A will pad the frame with pattern up to 46 bytes. c. collision when concurrent transmissions from two or more nodes occur (termed; collision), the DM9102A halts the transmission of data bytes and begins a jam pattern consisting of aaaaaaaa. at the end of the jam transmission, it begins the backoff wait time. if the collision was detected during the preamble transmission, the jam pattern is transmitted after completing the preamble. the backoff process is called truncated binary exponential backoff. the delay is a r andom int eger mul tiple of slot times. the number of slot times of delay before the n th retransmission attempt is chosen as a uniformly distributed random integer in the range: 0 r < 2 k k = min ( n, n ) and n=10 4. physical layer overview: the DM9102A provides 100m/10mbps dual port operation. it provides a direct interface either to uns hielded twisted pair cable utp5 for 100base-tx fast ethernet, or utp5/utp3 cable for 10base-t ethernet. in physical level operation, it consists of the following blocks:  pcs  clock generator  nre/nrei, mlt-3 encoder/decoder and driver  manchester encoder/decoder  10base-t filter and driver
DM9102A single chip fast ethernet nic controller final 57 version: DM9102A-ds-f03 august 28, 2000 serial management interface the serial management interface uses a simple, two-wired serial interface to obtain and control the status of phy management register set through an mdc and m dio. the management data clock (mdc) is equipped with a maximum clock rate of 2.5mhz, while management data input /output (mdio) works as a b i-directi onal, shared by up to 32 devices. in read/write operation, the management data frame is 64- bit long start with 32 contiguous logic one bits (preamble) synchronization clock cycles on mdc. the start of f rame delimiter (sfd) is indicated by a <01> pattern followed by the operation c ode (op):<10> indicates read operation and <01> indicates write operation. for read operation, a 2-bit turnaround (ta) filing between r esistor address field and data field is provided for mdio to avoid contenti on. ?z? stands for the state of high impedance. following turnaround time, a 16-bit data is read from or wri tten onto management registers. management interface - read frame structure 32 "1"s 0110a4a3a0r4r3r0 z 0 idle preamble sfd op code phy address register address turn around data idle read write mdc mdio read d15 d14 d1 d0 // // management interface - write frame structure 32 "1"s 0 1 1 0 a4 a3 a0 r4 r3 r0 1 0 d15 d14 d1 d0 idle preamble sfd op code phy address register address turn around data idle write mdc mdio write
DM9102A single chip fast ethernet nic controller 58 final version: DM9102A-ds-f03 august 28, 2000 power management 1. over view the DM9102A supports power management mechanism. it complies with the acpi specification rev 1.0, the network device class power management specification rev 1.0, and pci bus power m anagement interface spe cification rev 1.0. in addition, it also support wake-on lan (wol) which is the features of the amd?s magic packet? technology. with this function, it can wake-up a remote sleeping station. 2. pci function power management states the DM9102A supports pci function power states d0, d3(hot), d3(cold), and not supports d1, d2 states. additional pci signal pme# (power management event, open drain) to pin a19 of the standard pci connector. d0: normal & fully functional state d3(hot) : for controller, configuration space can be accessed and wake-up on lan circuit can be enabled. pme# operational circuit is acti ve, full function is s upported to detect the wake-up frame & link status. because of functions in d3(hot) must respond to configuration space accesses as long as power and clock are supplied so that they can be returned to d0 state by software. d3(cold) : if vcc is removed from a pci device, all of its pci functions transition immediately to d3(cold), no bus transaction is active under no pci_clk condition and wake-up on lan operation should be alive. pme# operat ional circuit is active. full function is supported under auxiliary power to detect the wake-up frame & link status. when power restored, pci rst# must be asserted and functions will return to d0 with a full pci spec. 2.2 compliant power-on reset sequence. the power required in d3(cold) must be provided by some auxiliary power source. 3. the power management operation it complies with the pci bus power management interface specification rev. 1.0. the power management event (pme#) signal is an optional open drain, active low si gnal that is intended to be driven low by a pci function to r equest a change in its current power management state and/or to indicate that a power m anagement event has occurred. the pme# signal has been assigned to pin a19 of the standard pci connector configuration. the assertion and de-assertion of pme# is asynchronous to the pci clock. software will enable its use by setting the pme_en bit in the pmcsr (write 1 to pmcsr<8>). when a pci function generates or detects an event that requires the system to change its power state, the function will assert pme#. it must continue to assert pme# until software ei ther cl ears the pme_en bit (pmcsr<8> is set to 0) or clears the pme_status bit in the pmcsr (write 1 to pmcsr<15>). DM9102A support three main categories of network device wake-up events specified in network device class power management rev1.0. that is, the DM9102A can monitor the network for a link change, magic packet or a wake-up frame and not ify the system by generating pme# if any of three events occurs. program the pciusr (offset = 40h) can select the pme# event, and write 1 to pmcsr<15> will clear the pme#. a. detect network link state change any link status change will set the wake-up event. 1. writes 1 into pmcsr<15>(54h) to clear previous pme# status 2. writes 1 into pmcsr<8> to enable pme# function 3. writes 1 into pciusr<29> to enable the link s tatus change function b. active magic packet function could be optionally enabled from eeprom contents. send a setup frame with a magic node address at first filter address using perfect address filter ing mode. 1. writes 1 into pmcsr<15> to clear previous pme status 2. writes 1 into pmcsr<8> to enable pme# function 3. writes 1 into pciusr<27> to enable magic packet function. c. active the sample frame function could be optionally enabled from pciusr<28>. sample frame data and corresponding byte mask are loaded into transmit fifo & receive fifo before entering d3(hot). the software driver has to stop the tx/rx process before setting the sample frame and byte mask into the fifo. transmit &
DM9102A single chip fast ethernet nic controller final version: DM9102A-ds-f03 august 28, 2000 59 receive fifo can be accessed from cr13 & cr14 by programming cr6<28:25> = 0011. the operational sequence from d0 to d3 should be: stop tx/rx process  wait for entering stop state  set test mode, cr6<28:25> = 0011  programming fifo contents  exit test mode  enter d3(hot) state the sample frame data comparison is comp leted when the received frame data has exceeded the programmed frame length or the full packet has been fully received. the operation procedure is shown below. DM9102A can handle 8 sample frames. the max byte count is 256 byte each sample frame. frame0 data0 frame1 data0 frame2 data0 frame3 data0 0 4 508 byte byte byte byte 0 7 8 15 16 23 24 31 252 256 frame0 mask 0 frame1 mask 0 frame2 mask 0 frame3 mask 0 0 4 byte byte byte byte 0 7 8 15 16 23 24 31 508 tx fifo 2k byte= 8 * 256 bit1 bit0 description 00 01 10 1 1 end of mask(sample frame) this byte musk check this byte don?t care this byte don?t care frame mask definition: only used bit0&bit1 mask_data mapping frame4 data0 frame5 data0 frame6 data0 frame7 data0 260 260 256 252 frame4 mask 0 frame5 mask 0 frame6 mask 0 frame7 mask 0 rx fifo 2k byte= 8 * 256 data1 data1 data1 data1 data1 data1 data1 data1 mask 1 mask 1 mask 1 mask 1 mask 1 mask 1 mask 1 mask 1 cr13: sample frame access register name general definition bit8:3 type txfifo transmit fifo access port 32h r/w rxfifo receive fifo access port 35h rw diagreset general reset for di agnostic po inter port 38h rw in diagreset port there are 7 bits: bit 0: clear tx fifo write_address to 0. bit 1: clear tx fifo read_address to 0., bit 2: clear rx fifo write_address to 0. bit 3: clear rx fifo read_address to 0., bit 4: reserved. bit 5: set tx fifo write_address to 100h., bit 6: set rx fifo write_address to 100h.
DM9102A single chip fast ethernet nic controller 60 final version: DM9102A-ds-f03 august 28, 2000 sample frame programming guide: 1. enter the sample frame access mode let cr6<28:25>=0011 2.reset the tx/rx fifo, write pointer to offset 0 write 38h to cr13<8:3> write 01h to cr14 (reset) write 00h to cr14 (clear) 3. write the sample frame 0-3 data to rx fifo write 35h to cr13<8:3> write xxxxxxxxh to cr14 (frame1~3 first byte) write xxxxxxxxh to cr14 (frame1~3 second byte) : : repeat write until all frame data written to rx fifo 4. reset rx fifo, write pointer to offset 100h write 38h to cr13<8:3> write 40h to cr14 (reset) write 00h to cr14 (clear) 5. write the sample frame 4-7 to rx fifo write 35h to cr13<8:3> write xxxxxxxxh to cr14 (frame4~7 first byte) write xxxxxxxxh to cr14 (frame4~7 second byte) : : repeat write until all frame data written to rx fifo 6. write the sample frame 0-3 mask to tx fifo write 32h to cr13<8:3> write xxxxxxxxh to cr14 (frame0~3 first mask byte) write xxxxxxxxh to cr14 (frame0~3 second mask byte) : : repeat write until all frame mask which is written to tx fifo 7. reset tx fifo, write pointer to offset 100h write 38h to cr13<8:3> write 20h to cr14 (reset) write 00h to cr14 (clear) 8. write the sample frame 4-7 mask to tx fifo write 32h to cr13<8:3> write xxxxxxxxh to cr14 (frame4~7 first mask byte) write xxxxxxxxh to cr14 (frame4~7 second mask byte) : : repeat write until all frame mask which is written to tx fifo
DM9102A single chip fast ethernet nic controller final version: DM9102A-ds-f03 august 28, 2000 61 serial rom overview the purpose of configuration rom (eeprom) is to support the DM9102A information to the driver for the card. the srom must support 64 words or more space for configuration data. the format of the srom is as followed the format of eeprom field name offset size subsystem id block 0 18 crom version 18 1 controller count 19 1 controller_0 information 20 n controller_1 information 20+n m : (depends on controller count) : : crc checksum 126 2 1. subsystem id block every card must have a s ubsystem id to indi cate the system vendor information. the content will be transferred into the pci configuration space during hardware reset function. vendor id & device id can be set in eeprom content & auto-loaded to pci configuration register after reset.(default value = 1282, 9102) this function must be selectable for enable/disable by auto_load_control (offset 08 of eeprom) setting to avoid damaging default value due to incorrectly auto-load operation. crc check circuit of eeprom contents to decide the auto-load operation of vendor id & s ubsystem. subsystem vendor id subsystem id reserved reserved id_block_crc pmc pmcsr reserved pci device id pci vender id nce auto_load_control 0 2 4 6 8 10 12 14 17,16 byte offset. subsystem id block byte offset (08): auto_l oad_control 0 3 4 7 bit3~0: ?1010? to enable auto-load of pci vendor_id & device_id, ?0? to disable. bit7~4: ?1x1x? to enable auto-l oad of nce, pme & pmc & pmcsr to pci configuration space. these four bits can also control the inverse of wol or pulse wol..
DM9102A single chip fast ethernet nic controller 62 final version: DM9102A-ds-f03 august 28, 2000 if bit4 = 0, wol is active high. if bit4=1, wol is active low if bit6 = 0, wol is pulse signal if bit6=1, wol is dc level signal. byte offset (09): new_capabilities_enable 0 1 7 bit0: directly mapping to bit20 (new capabilities) of the pcics byte offset (14): pmc 0 7 32 bit7~3: directly mapping to bit15~11 of pmc (that is bit31~27 of power management register) bit2~0: directly mapping to bit5~3 of pmc (that is bit21~19 of power management register) byte offset (15): 0 3 4 7 bit7~4: reserved bit3: set to disable the output of pme# pin. bit2: set to disable the output of wol pin. bit1: set to enable the link change wake up event. bit0: set to enable the magic packet wake up event. byte offset (16): id_block_crc 0 7 this field is implemented to confirm the correct reading of the eeprom contents. 2. srom version current version number is 03. 3. controller count the configuration rom supports multiple controllers in one board. every controller has its unique cont roller information block. controller count indicates the number of controllers put in the card. 4. controller_x information each controller has its information block to address its node id, gpr control, supported connect media types (media information block) and other application circuit information block. controller information header item offset size node address 0 6 controller_x number 6 1 controller_x info. block offset 7 1 5. controller information body pointed by controller_x info block offset item in controller information header: item offset size connection type selected 0 2 gpr control 2 1 block count 3 1 block_1 4 n : 4+n m * connect type selected indicates the default connect media type selected. * gpr control defines the input or output direction of gpr. there are three types of block: 1. phy information block (type=01) 2. media information block (type=00) 3. delay period block (type=80) phy information block: (type=01) item offset size block length 0 1 block type(01) 1 1 phy number 2 1 gpr initial length(g_i) 3 1 gpr initial data 4 g_i reset sequence length(r_i) 4+g_i 1 reset data 5+g_i r_i media capabilities 5+g_i+r_i 2 nway advertisement 7+g_i+r_i 2 fdx bit map 9+g_i+r_i 2
DM9102A single chip fast ethernet nic controller final version: DM9102A-ds-f03 august 28, 2000 63 ttm bit map 11+g_i+r_i 2 note 1: the definition of media capab ilit ies and nway advertisement is the same with 802.3u in terms of auto- negotiation. media information block: (type = 00) item offset size block length 0 1 block type(00) 1 1 media code 2 1 gpr data 3 1 command 4 2 note 1: media code: 10base_t half d uplex 00 10 base_t full duplex 04 100 base_t half duplex 01 100 base_t full duplex 05 note 2: command format delay period block (type = 80): define the delay time unit in us. item offset size block length 0 1 block type(80) 1 1 time unit 2 2 6. example of DM9102A srom format total size: 128 bytes field name offset (bytes) size (bytes) value (hex) commentary sub-vendor id 0 2 1282 id block sub-device id 2 2 9102 reserved1 4 4 00000000 auto_load_control 8 1 00 auto-load function definition: bit 3~0 = 1010  auto-load pci vendor id/device id enabled bit 7~4 = 1x1x  auto-load nce, pmc/pmcsr enabled new_capabilities_enable (nce) 9 1 00 please refer to DM9102A spec. pci vendor id 10 2 1282 pci device id 12 2 9102 if auto-load pci vendor id/device id function disabled, the pci vendor id/device id will use the default values (1282h, 9102h). power management capabilities (pmc) 14 1 00 please refer to DM9102A spec. power management control/status (pmcsr) 15 1 00 please refer to DM9102A spec. id_block_crc 16 1 - offset 0..15, 17 id crc reserved2 17 1 00 field name offset (bytes) size (bytes) value (hex) commentary srom format version 18 1 03 version 3.0 controller count 19 1 01 ieee network address 20 6 - controller info header controller_0 device number 26 1 00
DM9102A single chip fast ethernet nic controller 64 final version: DM9102A-ds-f03 august 28, 2000 field name offset (bytes) size (bytes) value (hex) commentary controller_0 info leaf offset 27 2 001e offset 30 reserved3 29 1 00 selected connected type 30 2 0800 controller_0 info leaf block general purpose control 32 1 80 mac cr12 register block count 33 1 06 6 blocks f(1)+length 34 1 8e block 1 (phy info block) type 35 1 01 phy information block phy number 36 1 01 phy address gpr length 37 1 00 reset sequence length 38 1 02 reset sequence 39 2 0080 media capabilities 41 2 7800 nway advertisement 43 2 01e0 fdx bit map 45 2 5000 ttm bit map 47 2 1800 f(1)+length 49 1 85 block 2 (delay period block) type 50 1 80 delay period block delay sequence 51 4 40002000 micro-second
DM9102A single chip fast ethernet nic controller final version: DM9102A-ds-f03 august 28, 2000 65 field name offset (bytes) size (bytes) value (hex) commentary f(1)+length 55 1 85 block 3 (media info block) type 56 1 00 media information block media code 57 1 00 10base-t half_duplex gpr data 58 1 00 command 59 2 0087 f(1)+length 61 1 85 block 4 (media info block) type 62 1 00 media information block media code 63 1 01 100base-tx half_duplex gpr data 64 1 00 command 65 2 0087 f(1)+length 67 1 85 block 5 (media info block) type 68 1 00 media information block media code 69 1 04 10base-t full_duplex gpr data 70 1 00 command 71 2 0087 f(1)+length 73 1 85 block 6 (media info block) type 74 1 00 media information block media code 75 1 05 100base-tx full_duplex gpr data 76 1 00 command 77 2 0087 srom_crc 126 2 - offset 0..125 srom crc
DM9102A single chip fast ethernet nic controller 66 final version: DM9102A-ds-f03 august 28, 2000 external mii/srl interface DM9102A provides one external mii/srl interface sharing with all the pins with boot rom interface. this external mii/srl interface can be connected with external phyceiver such as home networking phyceiver or other future technology applications. this external mii/srl interface can be set up by hardware and software. the setup methods are listed as below: test 1 (pin 75) test 2 (pin 71) clkrun# (pin 36) ma8 (pin 84) ma9 (pin 85) normal operation 01 x x x external mii mode 00 0 01/0 note 1 external srl mode 00 0 11/0 note 2 internal test mode 1x x x x note 1: external mii mode ma9 = 1 (set up by harware; mode cannot be changed.) ma9 = 0 & mii_mode = 1 (select external mii interface; mode can be changed by software.) where mii_mode is the bit 18 of cr6. note 2: external mii mode: ma9 = 1 (set up by harware; mode cannot be changed.) ma9 = 0 & mii_mode = 0 (select external srl interface; mode can be changed by software.) the sharing pin table (o): output, (i): input, (b): bi-direction normal operation external mii/srl interface boot rom mux mode boot rom dir mode external mii interface external srl interface ma6 = 0 ma6 = 1 ma8 = 0 ma8 = 1 pin 62 bpad0 md0/di mii_txd3 (o) bpad0 63 bpad1 md1 mii_txd2 (o) bpad1 64 bpad2 md2 mii_txd1 (o) bpad2 65 bpad3 md3 mii_rxer (i) bpad3 66 bpad4 md4 mii_rxdv (i) bpad4 67 bpad5 md5 mii_rxd1 (i) bpad5 68 bpad6 md6 mii_rxd2 (i) bpad6 69 bpad7 md7 mii_mdio (b) bpad7 72 bpcs# romcs mii_mdc (o) bpcs# 73 bpa0 ma0 nc bpa0 74 bpa1 ma1 mii_rxd (i) bpa1 77 eedi ma2 eedi (i) eedi (i) 78 eedo ma3/do eedo (o) eedo (o) 79 eeck ma4/ck eeck (o) eeck (o) 80 eecs ma5 eecs (o) eecs (o) 81 ma6 mii_col (i) srl_col (i) 83 ma7 mii_txclk (i) srl_txc (i) 84 ma8 mii_txen (o) srl_txe (o)
DM9102A single chip fast ethernet nic controller final version: DM9102A-ds-f03 august 28, 2000 67 85 ma9 mii_txd0 (o) srl_txd (o) 87 trfled ma10/trf nc nc 88 fdxled ma11/fdx osc20 (o) osc20 (o) 89 spd100 ma12/100 link (i) link (i) 90 spd10 ma13/10 nc nc 91 ma14 mii_crs (i) srl_crs (i) 92 ma15 mii_rxclk (i) srl_rxc (i) 93 ma16 mii_rxd0 (i) srl_rxd (i) 94 ma17 ma17 nc nc where nc is no connection pin88 is 20mhz clock output for external phy (such as dm9801) pin89 is link status input f rom exter nal phy for power m anagement changed event and reflect at cr12 bit6.
DM9102A single chip fast ethernet nic controller 68 final version: DM9102A-ds-f03 august 28, 2000 absolute maximum ratings absolute maximum ratings* ( 25 c ) symbol parameter min. max. unit conditions d vcc ,a vcc supply voltage -0.3 3.6 v v in dc input voltage (vin) -0.5 5.5 v v out dc output voltage(vout) -0.3 3.6 v tc case temperature range 0 85 c tstg storage temperature rang (tstg) -65 150 c lt lead temp. (tl, soldering, 10 sec.) --- 220 c operating conditions symbol parameter min. max. unit conditions d vcc ,a vcc supply voltage 3.135 3.465 v tc case temperature 0 85 c 100base-tx --- 115 ma 3.3v 100base-tx idle --- 115 ma 3.3v 10base-t tx --- 125 ma 3.3v 10base-t idle --- 45 ma 3.3v pd (power dissipation) auto-negotiation --- 76 ma 3.3v comments stresses above those listed under ? absolute maximum ratings ? may cause permanent damage to the device. these are stress ratings only. functional operation of this device at these or any other conditions above those indicated in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability.
DM9102A single chip fast ethernet nic controller final version: DM9102A-ds-f03 august 28, 2000 69 dc electrical characteristics (0 c DM9102A single chip fast ethernet nic controller 70 final version: DM9102A-ds-f03 august 28, 2000 ac electrical characteristics & timing waveforms pci clock specifications timing t high 2.0v 0.8v t r t f t low t cycle symbol parameter min. typ. max. unit conditions t r pci_clk rising time - - 4 ns - t f pci_clk falling time - - 4 ns - t cycle cycle time 25 30 - ns - t high pci_clk high time 12 - - ns - t low pci_clk low time 12 - - ns - other pci signals timing diagram t off t h t su input t on output c lk 2.5v t val (max) t val (min) symbol parameter min. typ. max. unit conditions t val clk-to-signal valid delay 2 - 11 ns cload = 50 pf t on float-to-active delay from clk 2 - - ns - t off active-to-float delay from clk - - 28 ns - t su input signal valid setup time before clk 7 - - ns - t h input signal hold time from clk 0 - - ns -
DM9102A single chip fast ethernet nic controller final version: DM9102A-ds-f03 august 28, 2000 71 multiplex mode boot rom timing t oh t ehqz t elqv tavav t elqx address=<7;2> oe=1,we=0 address <15;8> date<7;0> valld t ads t adh t ads t adh bpad <7;0> bpa1 bpcs# address<1> address<17> address<16> bpa0 address<0> symbol parameter min. type max. unit conditions t avav read cycle time - 31 - pci clock - t elqv bpcs# to output delay 0 - 7 pci clock - t ehqz bpcs# rising edge to output high impedance - 1 - pci clock - t oh output hold from bpcs# 0 - - pci clock - t ads address setup to latch enable high 4 - - pci clock - t adh address hold from latch enable high 4 - - pci clock -
DM9102A single chip fast ethernet nic controller 72 final version: DM9102A-ds-f03 august 28, 2000 direct mode boot rom timing frame# irdy# trdy# devsel# cbel[3:0] ad[31:0] md[7:0] ma[17:0] romcs tcbad t1adl t2adl t3adl t4adl tadtd trc symbol parameter min. typ. max. unit conditions t rc read cycle time - 50 - pci clock - t cbad bus command to first address delay - 18 - pci clock - t 1adl first address length - 8 - pci clock - t 2ad l second address delay - 8 - pci clock - t 3ad l third address delay - 8 - pci clock - t 4adl fourth address delay - 7 - pci clock - t adtd end of address to tardy active - 1 - pci clock - eeprom timing romcs eeck eedo tcskd teckc tedsp tecsc symbol parameter min. typ. max. unit conditions t eckc serial rom clock eeck period 64 - - pci clock - t ecsc read cycle time 1792 - - pci clock - t cskd delay from romcs high to eeck high 28 - - pci clock - t edsp setup time of eedo to eeck 24 - - pci clock -
DM9102A single chip fast ethernet nic controller final version: DM9102A-ds-f03 august 28, 2000 73 tp interface symbol parameter min. typ. max. unit conditions t tr/f 100tx+/- differential rise/fall time 3.0 --- 5.0 ns t tm 100tx+/- differential rise/fall time mismatch 0 --- 0.5 ns t tdc 100tx+/- differential output duty cycle distortion 0 0 0.5 ns t t/t 100tx+/- differential output peak-to- peak jitter 0 --- 1.4 ns x ost 100tx+/- differential voltage overshoot 0 --- 5 % oscillator/crystal timing symbol parameter min. typ. max. unit conditions t ckc osc cycle time 39.996 40 40.004 ns t pwh osc pulse width high 16 20 24 ns t pw l osc pulse width low 16 20 24 ns auto-negotiation and fast link pulse timing parameters symbol parameter min. typ. max. unit conditions t 1 clock/data pulse width --- 100 --- ns t 2 clock pulse to data pulse period 55.5 62.5 69.5 us data = 1 t 3 clock pulse to clock pulse period 111 125 139 us t 4 flp burst width - 2 - ms t 5 flp burst to flp burst period 8 16 24 ms - clock/data pulses in a burst 17 33 # flp bursts t 3 flp burst flp burst t 4 t 5 nlps
DM9102A single chip fast ethernet nic controller 74 final version: DM9102A-ds-f03 august 28, 2000 fast link pulses clock pulse data pulse clock pulse t 1 t 2 t 3 flp burst flp burst t 4 t 5 10tx0+/- t 1
DM9102A single chip fast ethernet nic controller final version: DM9102A-ds-f03 august 28, 2000 75 package information qfp 128l outline dimensions unit: inches/mm l l1 detail f seating plane see detail f d y 0.10 see detail a a a2 a 1 y b e 138 128 103 65 102 d d1 e1 e 64 39 with plating base metal detail a c b symbol dimension in inch dimension in mm a 0.134 max. 3.40 max. a1 0.010 min. 0.25 min. a2 0.112 0.005 2.85 0.12 b 0.009 0.002 0.22 0.05 c 0.006 0.002 0.145 0.055 d 0.913 0.007 23.20 0.20 d1 0.787 0.004 20.00 0.10 e 0.677 0.008 17.20 0.20 e1 0.551 0.004 14.00 0.10 e 0.020 bsc 0.5 bsc l 0.035 0.006 0.88 0.15 l1 0.063 bsc 1.60 bsc y 0.004 max. 0.10 max. 0 ~12 0 ~12 note: 1. dimension d1 and e1 do not incl ude resin fins. 2. all dimensions are based on metric system. 3. general appearance spec. should base itself on final visual inspection spec.
DM9102A single chip fast ethernet nic controller 76 final version: DM9102A-ds-f03 august 28, 2000 package information tqfp 128l outline dimensions unit: inches/mm                 
      
         d y          symbol dimensions in inches dimensions in mm a 0.047 max. 1.20 max. a 1 0.004 0.002 0.1 0.05 a 2 0.039 0.002 1.0 0.05 b0.006 +0.003 ?0.001 0.16 +0.07 ?0.03 c0.006 0.002 0.15 0.05 d0.551 0.005 14.00 0.13 e0.551 0.005 14.00 0.13 e 0.016 bsc. 0.40 bsc. f 0.494 nom. 12.56 nom. g d 0.606 nom. 15.40 nom. h d 0.630 0.006 16.00 0.15 h e 0.630 0.006 16.00 0.15 l0.024 0.006 0.60 0.15 l 1 0.039 ref. 1.00 ref. y 0.003 max. 0.08 max. 0 ~ 12 0 ~ 12 note: 1. dimension d & e do not include resin fins. 2. dimension g d is for pc board surface mount, pad pitch design reference only. 3. all dimensions are based on metric system.
DM9102A single chip fast ethernet nic controller final version: DM9102A-ds-f03 august 28, 2000 77 ordering information part number pin count package DM9102Af 128 qfp DM9102At 128 tqfp disclaimer the information appearing in this publica tion is believed to be accurate. integrated circuits sold by davicom semiconductor are covered by the warranty and patent indem nification provisions stipulated in the terms of sale only. davicom makes no warranty, express, statutory, implied or by description regarding the information in this publication or regarding the informat ion in this publication or regarding the fr eedom of the described chip(s) from patent infringement. further, davicom makes no warranty of merchantability or fitness for any purpose. davicom reserves the right to halt production or alter the specifications and prices at any time without notice. accordingly, the reader is cautioned to verify that the data sheets and other information in this publication are current before placing orders. products described herein are intended for use in normal commercial applications. applications involving unusual environmental or reliability requirements, e.g. military equipment or medical life support equipment, are specifically not recommended without additional processing by davicom for such applications. please note that application circuits illustrated in this document are for reference purposes only. davicom?s terms and conditions printed on the order acknowledgment govern all sales by davicom. davicom will not be bound by any terms inconsistent with these unless d avicom agrees otherwise in writing. acceptance of the buyer?s orders shall be based on these terms. company overview davicom semiconductor, inc. develops and manufactures integrated circuits for integration into data communication products. our mission is to design and produce ic pr oducts that are the industry?s best value for data, audio, video, and internet/intranet applications. to a chieve this goal, we have built an organization that is able to develop chipsets in response to the evolving technology requirements of our customers while still delivering products that meet their cost r equirements. products we offer only products that satisfy high performance requirements and which are compatible with major hardware and software standards. our currently available and soon to be released products are based on our proprietary designs and deliver high quality, high performance chips ets that comply with modem communication standards and ethernet networking standards. contact windows for additional information about davicom pr oducts, contact the sales department at: headquarters hsin-chu office: 3f, no. 7-2, industry e. rd., ix, science-based park, hsin-chu city, taiwan, r.o.c. tel: 886-3-5798797 fax: 886-3-5798858 taipei sales & marketing office: 8f, no. 3, lane 235, bao-chiao rd., hsin-tien city, taipei, taiwan, r.o.c. tel: 886-2-29153030 fax: 886-2-29157575 email: sales@davicom.com.tw davicom usa sunnyvale, california 1135 kern ave., sunnyvale, ca94085, u.s.a. tel: 1-408-7368600 fax: 1-408-7368688 email: sales@davicom8.com warning conditions beyond those listed for the absolute maximum may destroy or damage the products. in addition, conditions for sustai ned periods at near the limits of the operating ranges will stress and may temporarily (and permanently) affect and damage structure, performance and/or function.


▲Up To Search▲   

 
Price & Availability of DM9102A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X